开发者

How to raise the button command event from JavaScript ?

How can we fire th开发者_如何转开发e button command event from the JavaScript.

Not the BUTTON onclick event.


Using jQuery:

$("#button").click(function(e) {
    e.preventDefault();
    //Actions here
});

#button is the id of the button

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜