简体   繁体   中英

JavaScript: Get the control name which caused postback [client-side]

How can I get the control name which caused postback [in an ASPX webform] from the client-side (JavaScript)?

Note that I am registering a script on the Page_Load() event of the webform using ClientScript.RegisterOnSubmitStatement(...).

Any help is appreciated!

Close topic on stackoverflow also check some of these links 1 , 2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM