In this tutorial, we will discuss about form validation using jQuery plug in & display of submit content using JSP. In the given below example a form is given ,whose fields like name, email, url, content is validated using jQuery plug in. After successful validation, the submitted content is displayed by the JSP page.
The plug in is added to html using following code line :
If the email /URL is not valid or You press 'submit ' without entering anything :
The correct validate data is :
After submitting successfully :
Recommend the tutorial