Cookies
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 releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 2.2.0 | 2010-Jan-06 | n/a | Recommended for 1.3.x | ||
