In jquery to read, write and delete cookies by using dough cookie plugin. It is easy and powerful characteristics in jquery to use this plugin.
Firstly, below is the syntax to create cookie.
Create cookie :
$.dough("cookie_name", "cookie_value");
Secondly, below is the syntax of read cookie.
Read Cookie :
$.dough("cookie_name");
Lastly, below is the syntax of delete cookie.
Delete cookie :
$.dough("cookie_name", "remove")
0 Comment(s)