电脑名称: | 电脑价格: |
电脑重量: | 电脑品牌: 请选择 惠普 戴尔 联想 |
选择套餐:套餐一 套餐二 官方标配 | |
function select(){
console.log(“select调用”);
var options = KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲sel option:sele…("#show").empty();
KaTeX parse error: Expected '}', got 'EOF' at end of input: …gth;i++){ ("#show").append(""+commons[i].series);
console.log(commons[i].series);
}
}
});
}else if(options==2){
KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲show").empty();….ajax({
type:“get”,
url:"…/data/upgrade.json",
async:true,
dataType:‘json’,
success:function(upgrade){
console.log(“提取成功”);
for(var i=0;i<upgrade.length;i++){
$("#show").append(""+upgrade[i].series);
console.log(upgrade[i].series);
}
}
});
}
}