jQuery validation plugin error: TypeError: validator is undefined

后端 未结 13 2370
无人及你
无人及你 2020-12-09 03:10

Here is html code for the form:

13条回答
  •  天涯浪人
    2020-12-09 03:32

    In my case I was calling $.validator before $(document).ready. Once I moved it to a function being called from ready, it worked. It will work after or during ready but not before.

提交回复
热议问题