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
精彩评论