I have 2 sets of the same radio buttons, the one on top of the table and bottom of table (some UI requirements)The problem is when I set to check the radio button, only the bottom set of the radio buttons is checkedHere is my code:\[code\]//Top Set of Radio Buttons<input name="optField" value="http://stackoverflow.com/questions/13837953/Male" type="radio">Male<input name="optField" value="http://stackoverflow.com/questions/13837953/Female" type="radio">Female//Table Here//Bottom Set of Radio Buttons<input name="optField" value="http://stackoverflow.com/questions/13837953/Male" type="radio">Male<input name="optField" value="http://stackoverflow.com/questions/13837953/Female" type="radio">Female\[/code\]Jquery Code:\[code\] $(window).load(function(){ var $radios = $('input[name=optField]'); $radios.filter('[value="http://stackoverflow.com/questions/13837953/Male"]').attr('checked',true); });\[/code\]