开发者

JQuery Validation - Validate is Not a Function Error

I've been working on this file locally and it has been working fine with no noticeable problems or error messages. However, as soon as I upload it to a server and try to run it I get the following error from Firebug in Firefox:

$("#DN0").validate is not a function
invalidHand开发者_StackOverflow中文版ler: function(form, validator) {  (line 80)

Here is the page with the script: http://admin204.earthcare.com/FMLA-test/jquery-validation/dn0_errorTooltip2.html

I found a similar post JQuery validation plugin: $(“#”).validate() is not a function

This post prompted me to use the w3c validator on my html to make sure it was error free. I also believe that the JQuery and Validation plugin scripts are going to the right place and are in the right order.

I can't seem to figure this one out, any suggestions?


The reason is that you are getting an error 403 when accessing http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js

You are probably not allowed to link directly to their repository, I would suggest storing the script on the server instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜