- I am currently learning how to use jquery and I am experimenting with the change method
- However, I am facing an issue where the alert message "I am inside change" is not being displayed
- Could you please provide assistance on how to resolve this?
- Below is the code snippet that I am working with
$('#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);
});