storing value on client side

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?
 
B

Bruce Barker

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

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,078
Latest member
MakersCBDBlood

Latest Threads

Top