add something to __doPostBack function

  • Thread starter Thread starter guoqi zheng
  • Start date Start date
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
 
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>");
 
Back
Top