Javascript Cookies

How to set, get and delete the cookie using javascript?

Explanation

A cookie is nothing but a variable that is stored in the browsers. With JavaScript, you can set, get or delete the cookie values. There are three types of cookie functions in javascript. They are:
setcookie() - Used to set the cookies
getcookie() - Used to retrive the cookies
deletecookie() - Used to delete the cookies

Ask Questions

Ask Question