jQuery validation plugin error: TypeError: validator is undefined

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

Here is html code for the form:

13条回答
  •  爱一瞬间的悲伤
    2020-12-09 03:12

    The same issue showed up for me. The reason for that error what that I was using the code:

    if ($("#invalidFormId").valid()) {
    ....
    }
    

    And the id of the form element was not valid

提交回复
热议问题