how can i create a cookie in java script? i basically want a function that does the equivilant of this in php
what i intend is to have a link, and when it is clicked, the javascript create a cookieCode:setcookie('clicked', "TRUE", time()+99999)
or something like thatHTML Code:<a href="http://www.google.com" onclick"CookieClick()">gooooogle</a>
CookieClick() would then create the cookie


LinkBack URL
About LinkBacks







Reply With Quote



Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum