storing value on client side

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am storing a value into a javascript variable that was keyed into a text
control. When the code performs a postback, the value that was stored into a
clientside variable no longer exists. Is there anything I can do, to not lose
that value in the clientside variable when a postback is performed?
 
a postback reloads the page in the browser, so basically its a new page as
far as the browser is concerned. in the codebehind you can write out client
script to reinit the javascript variable.

-- bruce (sqlwork.com)
 

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

Back
Top