+ 3
Does javascript support saving of cookies on a user's computer just like php
6 Antworten
+ 3
thanks alot for the webpage Rishi ,its really useful
+ 2
yes document.cookie="name=value, expires=dateofexpiration";
+ 2
then how do you load it into a webpage when requested
+ 1
Yes
+ 1
you can use the cookie created just like any other string. you can make it read by pushing different keys etc on an array and then you can use its value.
the string goes to cookie