Jump to content

script error


kvnirvana

Recommended Posts

I take it you're using this jQuery.validate plug-in? Firstly do you have the plug-in code included within a script tag?

 

I've never used it myself so can only guess the problems, but it looks like you need to call it for individual inputs, not for a form as your selector suggests. Also it looks like you have to specify a 'valid()' function within the parameters in order to actually validate the input; which makes sense as how's it supposed to know what's valid otherwise?

Link to comment
https://forums.phpfreaks.com/topic/218630-script-error/#findComment-1135062
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.