Skip to main content

Search and Top Navigation

#5961 closed bug (wontfix)

Opened August 17, 2010 01:18AM UTC

Closed March 28, 2011 05:54PM UTC

Last modified October 11, 2012 09:15PM UTC

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>

Attachments (0)
Change History (3)

Changed March 28, 2011 05:39PM UTC by gnarf comment:1

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.

Changed March 28, 2011 05:54PM UTC by gnarf comment:2

resolution: → wontfix
status: newclosed

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

milestone: TBD

Milestone TBD deleted