When compared with regular JavaScript, setting and clearing cookies with jQuery is really easy. It will require a plugin though since it’s not included in the jQuery core. Here we will share with our collection of some jQuery Cookie Management Plugins, Code Snippets & Links. Have fun!

Related Posts:

Testing Cookie Plugin jsFiddle

A testing cookie plugin


Testing Cookie Plugin jsFiddle

Source + Demo

jQuery Cookie Testing jsFiddle

jQuery testing cookie plugin.


jQuery Cookie Testing jsFiddle

Source + Demo

jquery.cookies.js

This is a JavaScript library for accessing and manipulating HTTP cookies in the web browser. You can get one or a list of cookies, set cookies, deletes cookies and test if the browser accepts cookies


jquery.cookies.js

Source + Demo

Cookies.js

Is a small client-side JavaScript library that makes managing cookies easy.


Cookies.js

Source + Demo

jQuery Set Get Delete Cookies Example

jQuery can be used to manipulate browser cookies and this little demonstration shows you how to create, access and remove cookies using a jQuery plugin developed by Klaus Hartl under a GLP license.


jQuery Set Get Delete Cookies

Source + Demo

Zebra_Cookie

An extremely small jQuery plugin for writing, reading and deleting cookies.


Zebra_Cookie

Source + Demo

jquery-cookie

A simple, lightweight jQuery plugin for reading, writing and deleting cookies.


jquery-cookie

Source + Demo

CookieCuttr

You can use this on its own or in conjunction with a standard (or discreet) message on the rest of your website.


CookieCuttr

SourceDemo

Some JavaScript Examples 1

This code is provided as is, but has been tested extensively over the years, and should work quite well for you.


JavaScript Examples 1

Source + Demo

Some JavaScript Examples 2

Here’s the small JavaScript that we use to delete those pesky cookies.


JavaScript Examples 2

Source + Demo

Sam Deering is a Front-end Web Developer who specialises in JavaScript & jQuery. Sam is driven and passionate about sharing his knowledge to educate others.

Free Guide:

How to Choose the Right Charting Library for Your Application

How do you make sure that the charting library you choose has everything you need? Sign up to receive this detailed guide from FusionCharts, which explores all the factors you need to consider before making the decision.


  • Emuman

    Which of them do you recommend?

Learn JavaScript for free!
Free course: Introduction to JavaScript

Yours when you take up a free 14-day SitePoint Premium trial.