Error occure while validating form input using JQUERY in Firebug

Posted by Param-Ganak on Stack Overflow See other posts from Stack Overflow or by Param-Ganak
Published on 2010-04-05T08:02:08Z Indexed on 2010/04/05 8:03 UTC
Read the original article Hit count: 243

Filed under:

Hello Friends,

I have written a custom validation code in JQUERY. which is working fine. I have a login form which have two fields i.e. userid and password. I have written a custom JQUERY code for client side validation for these fields. This custom JQUERY code is working fine and gives me proper error messages as per the situation. 

But the problem with this code is that when I enter the invalid data in any or both field and press submit button of form then it displays the proper error message but at the same time when I checked it in Firebug it displays following error message when submit button of the form is clicked

validate is not defined function onclick(event) { javascript: return validate(); }(click clientX=473, clientY=273)

So please tell me where is I am wrong in my Jquery code.

Thank You!

© Stack Overflow or respective owner

Related posts about jQuery