Manual form validation in MVC 3 and JQuery

后端 未结 4 1436
旧巷少年郎
旧巷少年郎 2020-12-09 05:01

I want to be able to trigger form validation on the client side when the user selects the \"GO\" button. Currently when the \"GO\" button is selected it does not validate th

4条回答
  •  Happy的楠姐
    2020-12-09 05:48

    Its not working in IE because you are missing a semi-colon:

    var val = $('#myForm').validate()
    

提交回复
热议问题