开发者

jQuery - Form Validation Help

开发者 https://www.devze.com 2023-02-13 09:54 出处:网络
I have one form on this page: http://www开发者_运维问答.chatspring.me/FitTracker/. It\'s not working, and I don\'t know why. Any ideas?I noticed you\'re including jQuery twice--once before including

I have one form on this page: http://www开发者_运维问答.chatspring.me/FitTracker/.

It's not working, and I don't know why. Any ideas?


I noticed you're including jQuery twice--once before including validate and once after.

If I remove the jQuery include in the body tag, everything works fine. This is probably because the validate plugin is being attached to the first jQuery instance that's loaded, but then the second time you include jQuery, the validate plugin is being wiped away.

Here's your code working (minus styling): http://jsfiddle.net/andrewwhitaker/5kEbX/

0

精彩评论

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

关注公众号