Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Friday, August 26, 2011
How to click a button by Javascript in Webforms?
Two ways:
1. By jQuery:
$("#ClientID").trigger("click");
2. By __doPostBack function
__doPostBack('server side id name', 'Click');
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment