获取select 的value:
获取select 的text:
function selectinput(name){ alert(name.options[name.selectedIndex].text); }