Answers for "disable button after click success"

1

bootstrap disable button after click

$("#buttonid").on("click", function() {
    $(this).prop("disabled", true);
});
Posted by: Guest on March-04-2021
0

disable button after one click

You can add an onclick handler to your button:

document.getElementById("idOfButton").onclick = function() {
    //disable
    this.disabled = true;

    //do some validation stuff
}
Posted by: Guest on June-28-2021

Code answers related to "disable button after click success"

Browse Popular Code Answers by Language