Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Cookies


Average rating
(8 votes)

Note: I have tested in 1.4 and 1.4.1 and all tests are passing. The plugins repo editor does not have 1.4.x as an option for "Verified API Compatibility" so I cannot reflect this in the plugin repo meta.

Features

  • Use without jQuery
    • The core of this library--cookie manipulation--does not require jQuery. You can use it standalone to manipulate HTTP cookies.
  • Use with jQuery
    • With jQuery present, the lib is added to the jQuery namespace along with jQ extension methods to bind cookies to form values and html elements.
  • Set ANY value to a cookie
    • When the standard JSON API is available, all value types can be set as a cookie. The value will be JSON encoded on set, and decoded on get.

Description

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, delete cookies, test if the browser accepts cookies. When JSON support is available, any JS value can be set to a cookie--it will be automatically serialized before being written to the cookie. jQuery is not required to use this library, but jQuery bindings are available when jQuery is present on the page. When jQuery is available, you can cause form fields to automatically set cookies, or auto fill form fields with cookie values. See the documentation for details.

Releases

Official releasesDateSizeLinksStatus
2.2.02010-Jan-06n/aRecommended for 1.3.xThis is currently the recommended release for 1.3.x.

Support