Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
(Move to ...)
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
‹
›
Home
View web version
No comments:
Post a Comment