JQuery validation not working on server! It works locally. What for?

When I checked the jQuery validation locally, it works fine. But when I upload to my server, the check does not work. The page just reloads. Why is this so?

Here is the fiddle.

http://jsfiddle.net/anish/Q9qes/3/

+3
source share
3 answers

In your JSFiddle in Manage Resources , your link to the jQuery Validation plugin throws error 404. This is probably why it does not work on your server.

EDIT:

There is no tag like </input>. Remove them.

Perhaps run HTML and CSS using validator .

, jQuery Validation jQuery.

+2

well jquery - , . , . jquery serveride, URL- jquery. URL- jquery. , JQuery AjaX

+2

, jquery- ( js/jquery.min.js), js jQuery.min.js .

: , jQuery.min.js ...

( ): Google JQuery . : <script type="text/javascript" src="/js/jQuery.min.js"></script> : <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js">. , . , .

: http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/

,

:

Dave Ward, 2011. 3 , jQuery Google . [] : http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/ [ 24 2012 .].

+1

All Articles