Enable submit button with javascript - Javascript DOM HTML Element

Javascript examples for DOM HTML Element:Input Button

Description

Enable submit button with javascript

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript">
function EnableSend() {/*  w w w .ja  v a 2 s .  c o  m*/
        document.getElementById("submit").disabled = false;
}

      </script> 
   </head> 
   <body> 
      <input id="submit" name="submit" type="submit" value="send" disabled> 
      <input id="Submit_Facebook" name="Submit_Facebook" type="submit" value="" onclick="EnableSend();">  
   </body>
</html>

Related Tutorials