www.webdeveloper.com
Results 1 to 2 of 2

Thread: persistent data with javascript?

  1. #1
    Join Date
    Sep 2012
    Posts
    6

    persistent data with javascript?

    Hello again,

    Say I have a checkbox on my site, handled with javascript. Is there any way to programmatically store the user's setting of this, so that every time they return to the site the checkbox is the way they left it?

    Thanks
    P

  2. #2
    Join Date
    Mar 2011
    Posts
    1,135
    Yes, you can save this information in a 'cookie' using JavaScript. If you search on "JavaScript cookie tutorial" you'll find some examples. Good luck!
    Rick Trethewey
    Rainbo Design

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles