为什么这么改了还是连在一起
function count(){
var a=document.getElementById("txt1").value;
var b=document.getElementById("txt2").value;
var c=document.getElementById("select").value;
var result="";
switch(c){
case "+":result=parseInt(a)+parseInt(b);break;
case "-":result=(a-b);break;
case "*":result=(a*b);break;
case "/":result=(a/b);break;
}