if (Statue == "success") {var x = data.split("$");var y = $("#table1");for (i = 0; i < x.length; i++) {var z = $.parseJSON(x[i]);alert(z.Good_name);var w = $("<tr><td id='check' width='6%' class='line' ><input type='checkbox' name='selected' value='" + i + "'/></td><td width='10%'id='GoodNo'><div style='width:90px;text-align:center;'>" + z.Good_number + "</div></td><td width='30%' class='bg' style='text-align:left;'id='GoodName'><div class='cart_pic'><div><a href='#' target='_blank'title='" + z.Galign='absmiddle'></a></div></td><td width='12%' id='Price'><p>商城价:<span>" + z.Price + "</span></p></td><td width='11%' id='Total' class='bg' ><b>" + z.Quanity * z.Price + "</b></td><td width='5%' id='Operator' ><a id='removeProduct'>删除</a></td></tr>");y.append(w);$("removeProduct").click(function () {$.post("../BLL/ShopcarAjax.ashx", { "action": "remove", "id": z.Good_number }, function (txtData, txtStatue) {第二个post不工作 请高手帮帮我!
1 回答
慕码人2483693
TA贡献1860条经验 获得超9个赞
- 1 回答
- 0 关注
- 765 浏览
添加回答
举报
0/150
提交
取消