You are here: Foswiki>System Web>JQueryPlugin>JQueryCookie (2024-12-23, UnknownUser)Edit Attach
Homepage: http://jquery-howto.blogspot.com/2010/09/jquery-cookies-getsetdelete-plugin.html
Author(s): Klaus Hartl, Uzbekjon
Version: 20221209
Easy cookie handling using jQuery.
$.cookie('the_cookie');
: return the value of the cookie $.cookie('the_cookie', 'the_value');
: set the value of a cookie $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
: create a cookie with all available options. $.cookie('the_cookie', null);
: delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain used when the cookie was set. Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback