jQuery Tutorial plus Question:

Download Job Interview Questions and Answers PDF

How to read, write and delete cookies in jQuery?

jQuery Interview Question
jQuery Interview Question

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?