var s=document.getElementById('select').value;为什么要加.value才能够运行!
前面那个获得的是文本框对象,后面value是它的属性值。
value=“ ”;这就是它的属性。