Skip to main content

Search and Top Navigation

#5248 closed bug (duplicate)

Opened March 02, 2010 01:11AM UTC

Closed March 02, 2010 02:26AM UTC

Last modified October 11, 2012 09:15PM UTC

New Button, Radio style triggers each onclick event twice

Reported by: thaddeus Owned by:
Priority: blocker Milestone:
Component: ui.button Version: 1.8rc2
Keywords: radio Cc:
Blocked by: Blocking:
Description

New Button, Radio style triggers each onclick event twice!

when I run the following code:

The alert comes up twice.

<script type="text/javascript">

$(function() {

$("#radio1").buttonset();

});

</script>

<form>

<div id="radio1">

<input type="radio" id="radio1" name="radio" value="rd1" onclick="alert(this.value);" />

<label for="radio1">Choice 1</label>

<input type="radio" id="radio2" name="radio" checked="checked" value="rd1" onclick="alert(this.value);" />

<label for="radio2">Choice 2</label>

<input type="radio" id="radio3" name="radio" value="rd1" onclick="alert(this.value);" />

<label for="radio3">Choice 3</label>

</div>

</form>

Attachments (0)
Change History (2)

Changed March 02, 2010 02:26AM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed
version: 1.8rc31.8rc2

Duplicate of #5195.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted