不知道是不是这个意思
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body><script language="javascript"> 
<!-- 
function juese() 

var m=document.form1.selectman.value; 
switch(parseInt(m)) 

case 1: 
document.form1.action = "a.asp";  //登陆验证页面
break; 
case 2: 
document.form1.action = "b.asp";
break; 
case 3: 
document.form1.action = "c.asp"; 
break; 
case 4: 
document.form1.action = "d.asp";
break; 
default: 
alert("请选择登录角色!"); 
return; 

document.form1.submit();
}
//--> 
</script> 
<form id="form1" name="form1"> 
              <p align="center"> <span class="STYLE1">账号: </span> 
                <label> 
                <select name="selectman"> 
  <option value="">=登录角色= </option> 
                  <option value="1">系统管理员 </option> 
                  <option value="2">招生注册员 </option> 
                  <option value="3">仓库管理员 </option> 
                  <option value="4">学院领导 </option> 
                </select> 
                </label> 
              </p> 
              <label> 
                <div align="center"> <span class="STYLE1">密码: </span> 
                  <input name="textfield" type="text" size="12" /> 
                </div> 
              </label> 
                <label> 
                  <div align="center"> 
                    <input type="button" name="Submit" value="登录" onclick="juese()"/> 
                    <span class="STYLE1"> <a href="mimarecover.html" class="STYLE2">密码重置 </a> </span> </div> 
                </label> 
                <label> 
                <div align="center" class="STYLE1"> </div> 
                </label> 
  </form> </body>
</html>