jQuery Tutorial plus Question:
How to read, write and delete cookies in jQuery?
Answer:
★ To deal with cookies in jQuery we have to use the Dough cookie plugin.
★ Dough is easy to use and having powerful features.
Create cookie:
$.dough("cookie_name", "cookie_value");
Read Cookie:
$.dough("cookie_name");
Delete cookie:
$.dough("cookie_name", "remove");
★ Dough is easy to use and having powerful features.
Create cookie:
$.dough("cookie_name", "cookie_value");
Read Cookie:
$.dough("cookie_name");
Delete cookie:
$.dough("cookie_name", "remove");
Previous Question | Next Question |
Explain the difference between $(this) and 'this' in jQuery? | Is jQuery better than javascript? |