Jquery 最近浏览过的商品的功能实现代码
[ 2013-09-12 16:24:48 | 作者: admin ]
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/JCookie.js"></script> //插件
JCookie.js
阅读全文…
<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
...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