js.jsp
来自「用java编写的网络架构程序」· JSP 代码 · 共 37 行
JSP
37 行
<%@ page contentType="text/html; charset=GBK" %>
<script language='javascript'>
/*
//调用对话框Js
function doload() {
window.showModalDialog("/app/POPUP/popframe.jsp?PAGE_ID=PPOPUP01",window,"dialogwidth:1024;dialgheight:500;status:no");
document.forms[0].FGYXX03__KHYH.value = document.forms[0].GET_ITEM_CODE_TYPE.value;
document.forms[0].FGYXX03__YHZH.value = document.forms[0].GET_ITEM_CODE.value;
}
*/
//查询按钮JS
function searchJs() {
document.forms[0].TYPE.value = "1";
disAll();
document.forms[0].submit();
}
//到按钮JS
function goJs() {
document.forms[0].TYPE.value = "2";
document.forms[0].PAGE.value = document.forms[0].GOPAGE.value;
document.forms[0].submit();
}
//确定按钮JS
function doconfirmJs() {
}
//链接JS
function detailJs( index ) {
var jump_page = document.forms[0].elements[ "FSWGL02__Jump_page"+index].value;
var jump_param = document.forms[0].elements[ "FSWGL02__Jump_param"+index].value;
var logger=document.forms[0].elements[ "FSWGL02__LOGER_ID"+index].value;
jump_param=jump_param.replace("#$USER$#",logger);
var str=jump_page+"?WINDOW=open&TYPE=1&PAGE=1" +jump_param;
location.href =str;
}
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?