- I am trying to learn jquery.
- in jquery I am using change method.
- but its not displaying this alert ---> alert("I am inside change");
- can you tell me how to fix it.
- providing my code below.
$('#checkIDGrid').change(function() {
alert("I am inside change");
if(this.checked) {
var returnVal = confirm("Are you sure?");
$(this).prop("checked", returnVal);
}
// $('#textbox1').val(this.checked);
});