开发者

How to submit form by ignoring form validation recursive on call form.submit() method?

I have one form and i have bonded form validation using Jquery form validation by below code. I have used A jQuery inline form validation from

$("#FormID").validationEngine({
    onValidationComplete: function(form, status){
        if(status==true)
        {
            form.submit();
        }
    }开发者_JAVA技巧
});

As per above code form validation works properly when clicks on submit button but. If form is validated then fire submit() event and try to validate again.. in recursively then i got alert of "Stake Overflow error on line(..)" in ie.

How can i handle it?


I got solution for this.... i have modified some code as mentioned below

$("#FormID").validationEngine({
    onValidationComplete: false
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜