|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://wiki.cmc.msu.ru/System/JQueryCookie?rev=2
Дата изменения: Unknown Дата индексирования: Sun Apr 10 05:32:19 2016 Кодировка: koi8-r |
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.
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.