A set of functions that allow you to read, write, modify, and delete cookies. I can't take the full credit for this one. Many variants of these functions can be found all over the web. So why is it here? Umm.. dunno. Maybe so I don't have to go looking for it.
( Javascript 1.0 | JScript 1.0 | ECMAScript 1.0 ) & DOM 0
Posted.
Added supportsCookies() which checks for cookie support.
Fixed bug in the example page.
Modified supportsCookies() so that you can specify the root path for your site (see the Usage Instructions).