Jquery validation plugin - TypeError: $(…).validate is not a function

后端 未结 8 1126
不知归路
不知归路 2020-12-01 08:45

My script throw errors:

TypeError: jQuery.validator is undefined additional-methods.js:20 TypeError: $(...).validate is not a function index.php:115

8条回答
  •  醉话见心
    2020-12-01 09:28

    Include jquery.validate.js before additional-methods.js.

    $.validate() method is defined there

提交回复
热议问题