浏览模式: 普通 | 列表
9月, 2013 | 1
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/JCookie.js"></script> //插件

JCookie.js
/* JCookie.js * /
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires
...

阅读全文…
1