Page 1 of 1

Radio Button checked by jquery

Posted: Fri Mar 21, 2014 11:22 am
by Joe Bohen

I have two radio buttons on a html panel I wish to set the checked values of these using jquery and have attempted several methods without success the html looks like:

Code: Select all

     #### 
 Fault 
 OK 

if I use:
$("#radio").find("input").attr("checked", false).checkboxradio("refresh");
All radio buttons are set to unchecked if I try to do the same with the ID of the individual buttons it fails! What is the correct approach?


Radio Button checked by jquery

Posted: Fri Mar 21, 2014 11:47 am
by Joe Bohen

Sorry the html looks like:

Image


Radio Button checked by jquery

Posted: Fri Mar 21, 2014 11:55 am
by Nikita

Hello,

Please look at this link:

http://stackoverflow.com/questions/56...