Error occure while validating form input using JQUERY in Firebug
- by Param-Ganak
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!