急急
<select name= "Openresult1 " id= "Openresult1 " onchange= "if (Openresult1.value== '失标 ') alert( '请填写失单原因 '); ">
<option value= "未开标 "> 未开标 </option>
<option value= "中标 "> 中标 </option>
<option value= "失标 " name => 失标 </option>
</select>
我想在alert后,按确定连接到另一个页面去`
怎样操作.大俠 救救我
------解决方案-------------------- <select name= "Openresult1 " id= "Openresult1 " onchange= "if (Openresult1.value== '失标 '){ alert( '请填写失单原因 ');window.location= 'xxx.asp '} ">
------解决方案-------------------- <script language= 'javascript '>
function shibiao()
{
if(document.getElementById( "Openresult1 ").value== "失标 ")
{
alert( '请填写失单原因 ');
document.location.href= "你想跳转的页面 ";
}
}
</script>
<select name= "Openresult1 " id= "Openresult1 " onchange= "javascript:shibiao() ">
<option value= "未开标 "> 未开标 </option>
<option value= "中标 "> 中标 </option>
<option value= "失标 " name => 失标 </option>
</select>
------解决方案--------------------改善下楼上的,并接分。呵呵
<script language= 'javascript '>
function shibiao(thevalue)
{
if(thevalue== "失标 ")
{
alert( '请填写失单原因 ');
document.location.href= "你想跳转的页面 ";
}
}
</script>
<select name= "Openresult1 " id= "Openresult1 " onchange= "javascript:shibiao(this.value) ">
<option value= "未开标 "> 未开标 </option>
<option value= "中标 "> 中标 </option>
<option value= "失标 "> 失标 </option>
</select>