#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 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.