having problems simply getting the value of a radio button that is
checked in a group.
For example in the code below why is 's' blank?
// get value for checkbox or radio button that is checked
$("input[@name='radCateg']").click(function(){
var s = $("input[@name='radCateg']:checked").val();
alert(s);
});
No comments:
Post a Comment