JavaScript onsubmit Event






JavaScript onsubmit Event



<!doctype html>
<html>
<head>
 <title> onsubmit</title>
</head>
<body>
   <script>
      function formsubmit(){     
 
       alert("your form submit..!")
  
  }
   </script>
   
   <form onsubmit="formsubmit()">
   <label> User name </label>
   <br>
   <input type="text" id="txt">
   <br>
   <button type="submit"> Submit </button>

   </form>
   
</body>
</html>
Post A Comment
  • Blogger Comment using Blogger
  • Facebook Comment using Facebook
  • Disqus Comment using Disqus

No comments :

Thanks For visiting Infotech Solutuion Blog