📄 typesel.asp
字号:
<!--#include file="../conndb.asp"-->
<html>
<head>
<title>选择用户类型</title>
<link href="../style.css" rel="stylesheet">
<base target="main">
<script language="JavaScript">
function exitWindows()
{
var s=false;
var typelist="";
var n=0;
var nn = self.document.all.item("utype"); //返回复选框utype的数量
for (j=0; j<nn.length; j++) {
if (self.document.all.item("utype",j).checked) {
n = n + 1;
s = true;
if(n==1)
typelist = self.document.all.item("utype",j).value;
else
typelist = typelist + "," + self.document.all.item("utype",j).value;
}
}
if(n==0) {
alert("请选择用户类型!");
s = false;
}
if(s){
opener.document.all.item("utype").value = typelist;
window.close();
}
}
</script>
</head>
<body topmargin="4" leftmargin="4" bgcolor="#eeeeee">
<div align="center">
<table border="0" width="80%">
<tr><td align="left"><input type="checkbox" name="utype" value="系统管理员"> 系统管理员</td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="人事专员"> 人事专员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="客户管理员"> 客户管理员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="销售人员"> 销售人员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="培训管理员"> 事务专管员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="固定资产员"> 固定资产员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="销售管理员"> 销售管理员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="采购管理员"> 采购管理员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="库存管理员"> 库存管理员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="售后管理员"> 售后管理员 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="售后主管"> 售后主管 </td></tr>
<tr><td align="left"> <input type="checkbox" name="utype" value="售后工程师"> 售后工程师 </td></tr>
<tr>
<td height="14"><input type="hidden" name="utype" > </td>
</tr>
<tr>
<td height="14">
<p align="left">
<input type="button" value="选 择" name="Sel" onclick="exitWindows()">
<input type="button" value="关 闭" onclick="window.close()" name="Dpch"></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -