Hello, My knowledge on JS is very poor. I have a form with several checkboxes I want to know if it is possible to set a cookie with the checkbox id when the user checks it and delete if he unchecks it, and also how to do that. Thanks in advance.
@slaughtersOct 20.2009 — #Here are some functions I use to set and get Cookie values:[CODE]////////////////////////////////////////////////////////////////////////////// // setCookie // // Create a client side cookie.
// // @param c_name - Name to call the cookie // @param value - Value to assign to the cookie // @param expiredays - *optional* number of days before cookie expires
////////////////////////////////////////////////////////////////////////////// // getCookie // // Get value of a client side cookie // // @param c_name - Cookie name.
// @return cookie value, or an empty string if cookie is not found ////////////////////////////////////////////////////////////////////////////// function getCookie(c_name) {