2337 posts
  • Affiliate Level 5
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+7 more
CreativeMilk
says

I am looking for any tutorials/info how to insert and extract multiple data from aan cookie, i know how to ad en extract a single value from a cookie, but not multiple data.

I am working on a project which usses a cookie to store a single to tell if the toggle boxes are open or not, very basic but i now want to add the function that users can set every toggle box to open or close on load.

I have looked on the net but i must say i cant seem to find anything.

715 posts
  • Author Level 2
  • Collector Level 2
  • Exclusive Author
  • Belgium
+1 more
Hy-Studio
says

You could do it with a loop?

374 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Author Level 3
  • Collector Level 2
+4 more
_rohan
says

Hi Mark,

This tutorial: http://net.tutsplus.com/tutorials/javascript-ajax/inettuts/ has been extended with cookies which read multiple values at the author’s blog: http://james.padolsey.com/javascript/inettuts-with-cookies/

I find it to be an extremely helpful tutorial, maybe you could try using it :-)

by
by
by
by
by
by