article_select_dialog_ctrlbar_m_1.jsp
来自「jsp人事管理系统jsp+servlet」· JSP 代码 · 共 47 行
JSP
47 行
<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>无标题文档</title>
<link href="../skin/blue/css/oper_area.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="buttun-bar">
<tr>
<td width="8%"> </td>
<td align="right">
<input name="Submit" type="button" class="form-buttun" value="选择并继续添加" onClick="if(returnValue()){top.mainFrame.location.href=top.mainFrame.location.href;}" />
<input name="Submit" type="button" class="form-buttun" value="选择并关闭" onClick="if(returnValue()){top.window.close();}" />
<input name="Submit2" type="button" class="form-buttun" value="关 闭" onClick="cancel();"/></td>
<td width="4%" align="right"> </td>
</tr>
</table>
<script>
function returnValue(){
var str = "";
str=top.mainFrame.selectFormType();
if(str==""){
if(confirm("您没有选择文章:( 是否继续 ?")){
return false;
}
}
dialogArguments.returnArticle(str);
//window.returnValue = null;
//alert(top.mainFrame.selectFormType());
//return;
return true;
}
function cancel(){
window.close();
}
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?