add something to __doPostBack function

Discussion in 'ASP .Net' started by guoqi zheng, Aug 9, 2005.

  1. guoqi zheng

    guoqi zheng Guest

    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
     
    guoqi zheng, Aug 9, 2005
    #1
    1. Advertising

  2. guoqi zheng

    Mark Rae Guest

    "guoqi zheng" <> wrote in message
    news:...

    > 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>");
     
    Mark Rae, Aug 9, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim O'Neill

    Missing __doPostBack function

    Jim O'Neill, Apr 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    941
    Jim O'Neill
    Apr 9, 2005
  2. Replies:
    0
    Views:
    569
  3. =?Utf-8?B?Uml0YUc=?=

    RE: Programatically Force the __doPostBack Function

    =?Utf-8?B?Uml0YUc=?=, Mar 28, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    517
    =?Utf-8?B?Uml0YUc=?=
    Mar 28, 2007
  4. =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=

    RE: Programatically Force the __doPostBack Function

    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=, Mar 28, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    442
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Mar 28, 2007
  5. TJ
    Replies:
    5
    Views:
    999
    Walter Wang [MSFT]
    Jun 27, 2006
Loading...

Share This Page