Question and answer is powered by AnsPress.io
Hi
I am working on a website using cookie for storing id.But how can i do this using jquery?
$.cookie('var_name','set value'); //to add cookie
$.cookie('var_name', null);
//to remove cooke. when browser closed, the cookie automatically unset