2317 posts
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
+1 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
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Belgium
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
Yaeko says

You could do it with a loop?

374 posts
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
_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