JQuery 'Change' event handler for asp.net radiobuttonlist not triggering event JQuery 'Change' event handler for asp.net radiobuttonlist not triggering event asp.net asp.net

JQuery 'Change' event handler for asp.net radiobuttonlist not triggering event


Remember, a radio button list doesn't have a single identifier. The radio buttons are linked together by their NAME. If I recall, rblYesNo.ClientID will probably be just a div that wraps the radio buttons. Try:

$("#<%=rblYesNo.ClientID%> input").change(function(){});


IE has a problem with the 'change' event on radio buttons, try using click instead:

$("#<%=rblYesNo.ClientID%>").click(MyFunction);


$(document).ready(function() {  $('#<%=rblYesNo.ClientID%> input[type="radio"]').each(function() {                $(this).click(function() {                alert((this).value);            });  }); });