-2

Possible Duplicate:
What is the “best” way to get and set a single cookie value using JavaScript

I am trying to figure out how to use cookies with JavaScript. I am trying to store an email address, address, and phone number. Can anyone help? I have tried looking around the google machine for help, but I am not finding anything useful.

Community
  • 1
  • 1
jake
  • 9
  • 2
  • Please read: http://www.w3schools.com/js/js_cookies.asp –  Oct 18 '12 at 06:19
  • The w3schools didn't help me, I've already looked there. – jake Oct 18 '12 at 06:28
  • [Quirksmode](http://www.quirksmode.org/js/cookies.html) has a good resource on this, but as I see the duplicate question has the same as the accepted answer. – kapa Oct 18 '12 at 09:19
  • This is the first question I've ever posted on here. Why do people think this is a duplicate? – jake Oct 18 '12 at 21:45

1 Answers1

-1

Heard of google? :)
http://www.w3schools.com/js/js_cookies.asp

But if you are using HTML5 it is even easier.

http://www.w3schools.com/html/html5_webstorage.asp

premik91
  • 89
  • 1
  • 1
  • 7
  • w3schools was one of the first places I looked. I don't think it explains cookies very well. – jake Oct 18 '12 at 06:22
  • -1 w3schools is a terrible resource and webstorage has nothing to do with cookies. – kapa Oct 18 '12 at 09:18