vars["price"] = $('#awp_p_impact').val(); //here I will add plus the calculation of the heigh..
vars["test"] = 100;
vars["weight"] = $('#awp_p_weight').val();
vars["quantity"] = $('#quantity_wanted').val();
vars["quantity_available"] = $('#quantityAvailable').length?$('#quantityAvailable').html():awp_quantity;
vars["id_product"] = $('#product_page_product_id').val();
vars["awp_isie"] = ($.browser.msie?"1":"0");
vars["allow_oos"] = allowBuyWhenOutOfStock?"1":"";
$.ajax({
type: 'POST',
url: baseDir + 'modules/attributewizardpro/combination_json.php',
async: false,
cache: false,
dataType : "json",
data: vars,
如何获取/调用 combination_json.php 中的 vars["test"] ?