The following code shows how to iterate through each radio button in DOM via jQuery
HTML MarkUp:
HTML MarkUp:
jQuery Script:Male
Female
$(function(){ $(".c input[type='radio']").each(function(){ alert($(this).val()); }); });-- Saravanan
Comments
Post a Comment