jQuery validator plugin + ajax submitting not working

前端 未结 3 524
梦如初夏
梦如初夏 2020-11-30 07:08

I use the jQuery validator plugin (1.11) from bassistance.de and submit via php. Now i have add an ajax call in the submit handler at the end of the javacript code, but the

3条回答
  •  情深已故
    2020-11-30 07:27

    It is easy. Only do this

    if ( $( "label.error" ).length===false || $( "label.error" ).is(":visible")===false) {
    
    here set the ajax
    
    }
    

提交回复
热议问题