jQuery Tutorial plus Question:
Download Questions PDF

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");

Download jQuery Interview Questions And Answers PDF

Previous QuestionNext Question
Explain the difference between $(this) and 'this' in jQuery?Is jQuery better than javascript?