2337 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item that was trending
+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
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Belgium
+1 more
Hy-Studio
says

You could do it with a loop?

374 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+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