'onSubmit' Example : onSubmit : Event onMethod JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Event onMethod » onSubmit »

 

'onSubmit' Example



    
<html>
<body>
<form name="form1" 
      method="post" 
      action="" 
      onsubmit="alert('The form is being submitted')">
   <input type="text" name="textfield">
   <input type="submit" value="Submit">
</form>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Event onMethod
» onSubmit