谢谢大神们的解答
function count(){ var t1=document.getElementById("txt1")这里缺.value; var t2=document.getElementById("txt2")这里缺.value; var s1=document.getElementById("select")这里缺.value;