Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

click on a radio button using jquery

$('input:radio[name=sex]:nth(0)').attr('checked',true);
or
$('input:radio[name=sex]')[0].checked = true;
Source by mkyong.com #
 
PREVIOUS NEXT
Tagged: #click #radio #button #jquery
ADD COMMENT
Topic
Name
9+3 =