When I tried jQuery validation locally it works fine. But when I upload to my server the validation is not working. The page just simply reloads. Why is it so?
Here is the fiddle.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your JSFiddle, under Manage Resources, your link to the jQuery Validation plugin is giving a 404 error. Maybe that’s why it’s not working on your server.
EDIT:
There is no such tag as
</input>. Remove those.Perhaps run your HTML & CSS through a validator.
Also, the version of your jQuery Validation plugin is not up to date with your jQuery version.