Here is my Jquery Code. I want to show bootstrap confirm Dialog when user check or uncheck the checkbox. How can I do this ?
$("#chkAdmin").change(function () {
if (this.checked) {
$("#divAdmin").find("*").prop("disabled", true);
} else {
$("#divAdmin").find("*").prop("disabled", false);
}
});
I want to show bootrap Yes No modal first and based on Yes or No, I want execute the above code.
Aucun commentaire:
Enregistrer un commentaire