jQuery validate plugin on DIV

前端 未结 5 1937
太阳男子
太阳男子 2020-11-29 08:29

I am trying to use the validate plugin on a div as shown in the answer to this question:



        
5条回答
  •  孤街浪徒
    2020-11-29 08:53

    You can get the same error if you select the form by class

    $(".form_class").validate(...

    instead of by ID $("#form_id").validate(...

    or tag name $("form").validate(...

提交回复
热议问题