function ReLoadPromotion() { var A = parseFloat($("#pNormalTotal").html()) + parseFloat($("#pBarginTotal").html()); jQuery.ajax( { url: "/ajax/OrderRedemption.aspx?vf=getlist", type: "POST", dataType: "json", data:{amount:A}, success: function (json) { $("#fittingProductList tr.tableItem").remove(); var data = json.list; $.each(data, function (i, n) { var id = n.pid; var row = "
"; row += "
"; row += "
"; row += "
满" + n.amount + "
"; row += "
" + n.price + "
"; row += "
"; $("#fittingProductList").append(row); }); $("#promotionArea").slideDown(); CalculateOrder(); }, error: function (xml) {