Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5961 closed bug (wontfix)

It's can't get the value in radio buttonset, if use ui.effects, in IE Browser

Reported by: xijupony Owned by:
Priority: minor Milestone:
Component: ui.effects.* (individual effect) Version: 1.8.4
Keywords: buttonset effects Cc:
Blocked by: Blocking:

Description

Effects & html radio buttonset, has a bug with IE. here is demo:

$().ready(function(){

$("#div1").buttonset(); $("#btnToggle").click(function(){

$("#div1").toggle('blind'); if use the effects, can't get the radio value. else, right.

});

$("#btnAlert").click(function(){

alert($("#div1 > input:checked").val()); if div1 hidden by the effect, the value is undefined in IE browser.

});

$("#div1 > :radio").click(function({

$("#div1").hide('blind');

}));

});

<button id="btnToggle">Toggle Div1</button> <button id="btnAlert">Alert Checked</button> <div id="div1">

<input type="radio" name="radio" id="radio1" value="1"><label for="radio1">Radio 1</label> <input type="radio" name="radio" id="radio2" value="2"><label for="radio2">Radio 2</label> <input type="radio" name="radio" id="radio3" value="3"><label for="radio3">Radio 3</label>

</div>

Change History (3)

comment:1 Changed 9 years ago by Corey Frang

Some of the effects require wrapping the element in a container so we can animate it. This will break the > child selector -- if you did #div1 input:checked it would still find it.

comment:2 Changed 9 years ago by Corey Frang

Resolution: wontfix
Status: newclosed

comment:3 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.