开发者

How to simulate a submit event in Javascript or via YUI

I'm using a form validator, that listens to submit events, but I decided to send an ajax post request with form fields, instead of form submission.

Now I don't know how to throw the submit event. YUI's node-event-simulate module can simul开发者_StackOverflow社区ate only clicking and mouse events.


Use your validators .validate() method ;)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜