zig.com Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<input type="submit" id="mySubmit" disabled>
<p>Click the "Try it" button to find out if the Submit button is disabled.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
  function myFunction() {
    var x = document.getElementById("mySubmit").disabled;
    document.getElementById("demo").innerHTML = x;
  }
</script>
</body>
<!-- /jsref/tryit.asp?filename=tryjsref_submit_disabled Thu, 06 Feb 2025 20:01:08 GMT -->
</html>