【文件属性】:
文件名称:jquery.cookie实现的客户端购物车操作实例
文件大小:29KB
文件格式:PDF
更新时间:2023-12-14 15:57:20
c cookie ie
本文实例讲述了jquery.cookie实现的客户端购物车操作。分享给大家供大家参考,具体如下:
//购物车
var Cart = function () {
this.Count = 0;
this.Total = 0;
this.Items = new Array();
};
//购物车集合对象
var CartItem = function () {
this.Id = 0;
this.Name = "";
this.Count = 0;
this.Price = 0;
};
//购物车操作
var CartHelper = function () {