📄 popselectframe.asp
字号:
<link href="../../../include/main.css" rel="stylesheet" type="text/css">
<script src="../../../include/function.js" type="text/javascript"></script>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function Save()
{
WorkArea.Save();
}
function Cancel()
{
window.returnValue = "0";
if(WorkArea.HasChanged==true)
{
discard=confirm("您已经修改了某些信息,但尚未保存。放弃您所作的修改吗?");
if(discard==true)
{
window.close();
}
}
else
{
window.close();
}
}
function EnableButton()
{
frmData.Limit[0].disabled=false;
frmData.Limit[1].disabled=false;
frmData.btnSave.disabled =false;
frmData.btnCancel.disabled =false;
}
function DisableItems()
{
WorkArea.DisableItems();
}
//-->
</script>
<%
dim OptionID,CurItems,Limit,NoLimit,AppendBlank
OptionID=Request.QueryString("OptionID")
CurItems=Request.QueryString("CurItems")
AppendBlank=Request.QueryString("AppendBlank")
if CurItems="" then
Limit=""
NoLimit=" checked "
else
Limit=" checked "
NoLimit=""
end if
%>
<html>
<head>
<title>字段值限定</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form METHOD="post" name="frmData">
<table width="100%" border="0" align="center">
<tr height="25">
<td colspan="5">
<b>字段值限定</b>
</td>
</tr>
<tr>
<td colspan="4">
<p align="left">
<input id="Limit" name="Limit" disabled VALUE="0" <%=NoLimit%> type="radio" onclick="DisableItems()">不限定
<input id="Limit" name="Limit" disabled VALUE="1" <%=Limit%> type="radio" onclick="DisableItems()">限定选项
</p>
</td>
</tr>
<tr>
<td colspan="4">
<table width="100%" cellspacing="1" bgcolor="999999">
<tr>
<td width="20%" bgcolor="white">选择</td>
<td width="80%" bgcolor="white">名称</td>
</tr>
</table>
</td>
</tr>
<tr height="210">
<td colspan="4">
<iframe id="WorkArea" name="WorkArea" style="visibility:visible" width="100%" height="100%" frameborder="0" src="popselect.asp?CurItems=<%=CurItems%>&OptionID=<%=OptionID%>&AppendBlank=<%=AppendBlank%>">
</iframe>
</td>
</tr>
<tr height="30" valign="bottom">
<td colspan="4">
<table width="100%">
<tr>
<td width="20%"></td>
<td width="20%"><input id="btnSave" type="button" disabled value="确定" name="btnSave" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Save()"></td>
<td width="20%"></td>
<td width="20%"><input id="btnCancel" type="button" disabled value="取消" name="btnCancel" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Cancel()"></td>
<td width="20%"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -