jQuery Check Box change Event
Code jQuery :
<script>
$(document).ready(function () {
$("#No").change(function () {
if ($(this).is(":checked")) {
var returnVal = confirm("are you sure ??? ");
$(this).attr("checked", returnVal);
alert(" no check box is checked");
}
});
});
</script>
Comments
Post a Comment