开发者

Problem with jQuery Validation Plugin submission?

I am using "Inline Form Validation Engine 1.6.2, jQuery plugin" to validate form. But i want that on click of a link i.e..

<a href="#">Click here to submit</a>

it should validate. as my form do not have 开发者_Go百科submit button.. Please help..


try:

$('a#submit').click(function(){
   $('#form-id').submit();
})


<a href="#" id="submit">Click here to submit</a>

I won't suggest to have your form without any submit button... because you are screwed when javascript is disabled in a browser.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜