add something to __doPostBack function

G

guoqi zheng

Dear sir,

I need to use javascript to get and set a value in a hide text box before on
click event of button is fired. How can I do this?

I am thinking that maybe I can add something to __doPostBack function in
javascript? can I? and how?

regards,

Guoqi Zheng
http://www.ureader.com
 
M

Mark Rae

I need to use javascript to get and set a value in a hide text box before
on
click event of button is fired. How can I do this?

protected Button cmdButton;

cmdButton.Attributes.Add("onClick", "<enter your JavaScript here>");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top