Hello guys
I am a beginer in jquery. For some reason Validation wont work....after() wont display error message..what could be wrong?
Thank you in advance.
I see a number of things that could go awry. Firstly, establishing a click handler on a div around the submit button for the form in order to do validation is just, well, rather odd.
Step 1 to cleanup is to get rid of that click handler and replace it with a submit handler for the form. That's the appropriate place to do validation.
And please, next time you post your code, please fix up the indentation properly. Badly indented code is very hard to read.
Thank you a lot Bear ...i tried to look for the plugin but i didnt find one that suits my needs,from the code ,can you suggest any validation plugin?
Thank you again!