disabled function js code example
Example 1: js set disabled
document.getElementById("myBtn").disabled = true;
Example 2: how to disable javascript
<noscript>
Javascript is disable in your browser
</noscript>
document.getElementById("myBtn").disabled = true;
<noscript>
Javascript is disable in your browser
</noscript>