NetNessie
05-14-2005, 04:33 AM
G'day all,
I need a little hand with a JavaScript function which opens a cookie and grabs a value.
Could anyone show me how to make a small script that loads a value from a cookie. The cookie only stores one value, in the form of style=ID.
The script should return the value of ID if the cookie exists, or return null if the cookie does not exist.
Any help would be appreciated. http://forums.3drealms.com/ubbthreads/images/graemlins/grin.gif
I need a little hand with a JavaScript function which opens a cookie and grabs a value.
Could anyone show me how to make a small script that loads a value from a cookie. The cookie only stores one value, in the form of style=ID.
The script should return the value of ID if the cookie exists, or return null if the cookie does not exist.
Any help would be appreciated. http://forums.3drealms.com/ubbthreads/images/graemlins/grin.gif