Retaining the value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lav Bansal
    New Member
    • Nov 2006
    • 3

    Retaining the value

    Hi
    I want to retain the value of hidden variable after page reload through javascript.Is there any way to do it?

    Thanks for your help in advance

    Regards,
    Lav
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    I don't believe so. I think you would need to use some session variables to achieve this.


    HTH,
    Aric

    Comment

    • Lav Bansal
      New Member
      • Nov 2006
      • 3

      #3
      Hi Aric
      Can you please elaborate on it. I mean can you please tell how to do it.

      Thanks & Regards,
      Lav

      Comment

      • iam_clint
        Recognized Expert Top Contributor
        • Jul 2006
        • 1207

        #4
        you can write it to a cookie

        W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

        Comment

        • Lav Bansal
          New Member
          • Nov 2006
          • 3

          #5
          Originally posted by iam_clint
          you can write it to a cookie

          http://www.w3schools.com/js/js_cookies.asp
          Thanks for your help

          Regards,
          Lav

          Comment

          Working...