文件名称:jquery-cookie-master
- 所属分类:
- JSP源码/Java
- 资源属性:
- [JavaScript] [源码]
- 上传时间:
- 2013-03-10
- 文件大小:
- 11kb
- 下载次数:
- 0次
- 提 供 者:
- kkpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
jQuery操作cookie的插件,大概的使用方法如下
$.cookie( the_cookie ) //读取Cookie值
$.cookie(’the_cookie’, ‘the_value’) //设置cookie的值
$.cookie(’the_cookie’, ‘the_value’, {expires: 7, path: ‘/’, domain: ‘jquery.com’, secure: true}) //新建一个cookie 包括有效期 路径 域名等
$.cookie(’the_cookie’, ‘the_value’) //新建cookie
$.cookie(’the_cookie’, null) //删除一个cookie
-the jQuery operations cookie plugin, probably to use as follows $ cookies (the ' the_cookie' ) // to read Cookie value $. cookies (the ' the_cookie' the ' the_value' ) // set a cookie value $ cookie (' the_cookie ' ,' the_value ' , {expires: 7, path:' /' , domain:' jquery.com ' , secure: true}) //create a new cookie valid path domain name, such as $ cookie (' the_cookie ' ' the_value' ) // Create a new cookie $. the cookies (' the_cookie' , null) // delete a cookie
$.cookie( the_cookie ) //读取Cookie值
$.cookie(’the_cookie’, ‘the_value’) //设置cookie的值
$.cookie(’the_cookie’, ‘the_value’, {expires: 7, path: ‘/’, domain: ‘jquery.com’, secure: true}) //新建一个cookie 包括有效期 路径 域名等
$.cookie(’the_cookie’, ‘the_value’) //新建cookie
$.cookie(’the_cookie’, null) //删除一个cookie
-the jQuery operations cookie plugin, probably to use as follows $ cookies (the ' the_cookie' ) // to read Cookie value $. cookies (the ' the_cookie' the ' the_value' ) // set a cookie value $ cookie (' the_cookie ' ,' the_value ' , {expires: 7, path:' /' , domain:' jquery.com ' , secure: true}) //create a new cookie valid path domain name, such as $ cookie (' the_cookie ' ' the_value' ) // Create a new cookie $. the cookies (' the_cookie' , null) // delete a cookie
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jquery-cookie-master
....................\.gitignore
....................\.jshintrc
....................\.tm_properties
....................\.travis.yml
....................\CHANGELOG.md
....................\Gruntfile.js
....................\MIT-LICENSE.txt
....................\README.md
....................\component.json
....................\cookie.jquery.json
....................\jquery.cookie.js
....................\package.json
....................\test
....................\....\index.html
....................\....\malformed_cookie.html
....................\....\server.js
....................\....\tests.js