2012-04-27 90 views

回答

0

創建像形式

<select name="selectItem"> 
    <option value="-1" >-----Select-----</option> 
    . 
    . 
</select> 

調用Java腳本函數臨時選項提交檢查哪裏像

if((document.Form1.selectItem[document.Form1.selectItem.selectedIndex].value)=='-1') 
return false; 
else 
return true;