jquery不工作 (jquery not working/trigger )

访问量: 3272

refer to: http://stackoverflow.com/a/25011343/445908

in my case there are multiple forms in current page, and I am using :

$('form').validate()

which makes jQuery.validate confused.   solution: assign a specify ID selector for your form. e.g.

$('#my_form_id').validate()

简言之:  为你的form 指定一个ID~ 

订阅/RSS Feed

Subscribe