getElementById ('countId').onclick = function(){ //用變數設定漢堡跟可樂的售價var hamPrice = 80; var cokePrice = 20; //選取輸入欄位的DOM 並宣告變數名,用value ...
確定! 回上一頁