Answers for "how to disable a js function"

CSS
0

javascript getelementbyid disable

//javascript getelementbyid disable
//Enable a button
document.getElementById("Button").disabled=false;

//Disable a button
document.getElementById("Button").disabled=true;
Posted by: Guest on September-09-2020
0

enable html button

$('#Button').prop('disabled', true);
Posted by: Guest on May-22-2020

Browse Popular Code Answers by Language