In this tutorial, we will discuss about the 'submit' form event of jQuery. In this example , In this example a text box and a button is given, when we hit the button, it will check/validate whether entered string is "true" or not. If it is 'true' , it will show a message "Query is validated" and also a alert box to show the "success" message. The alert box will show only when "submit" event return 'true' to 'form'.
When we enter "true", it will display :
Recommend the tutorial