Click First Radio Button with jQuery

This jQuery snippet will invoke the click event for the first radio button named “gender“.

[javascript]
$("input:radio[name=gender]:first").click();
[/javascript]

Leave a Reply