谁能告诉我错在哪了,没反应,不显示结果
function count(){ var a = document.getElementById("txt1").value; var b = document.getElementById("txt2").value; var c; switch(select) case "+": c = a + b; break; case "-": c = a - b; break; case "*": c = a * b; break; case "/": c = a / b; break; document.getElementById("fruit").value = c;