<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title></title>
<link href="/kangaroo/admin/div/css/confirmdialog.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript" src="/kangaroo/admin/div/js/prototype.js"></script>
<script>
function init()
{
$('staids').value = window.dialogArguments.staids;
$('msg').innerHTML = window.dialogArguments.message;
document.title = window.dialogArguments.titleText;
}
</script>
</head>
<base target="_self">
<body onLoad="init();">
<form action="/kangaroo/adminstation/adminstation!delStation.dhtml" method="post" name="form1">
<input type="hidden" name="staIds"/>
<table width="100%" border="0" align="center">
<tr>
<td colspan="2" align=left id = "tdMsg"><span id="msg" class="msg"></span></td>
</tr>
<tr>
<td align="right"><input name="ok" type="submit" value="确定"></td>
<td align="left"><input name="cancel" type="button" value="取消" onClick="window.close();" ></td>
</tr>
</table>
</form>
</body>
</html>
----------DWR层------
<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
function init()
{
top.city2_map.document.getElementById('staids').value = window.staids;
top.city2_map.document.getElementById('msg').innerHTML = window.message;
document.title = window.titleText;
}
var station_str='<form action="/kangaroo/adminstation/adminstation!delStation.dhtml" method="post" name="form1">'
+' <input type="hidden" id="staids" name="staids" value="'+window.staids+'"/>'
+' <table width="100%" border="0" align="center">'
+' <tr>'
+' <td colspan="2" align=left id = "tdMsg"><span id="msg" class="msg">'+window.message+'</span></td>'
+' </tr>'
+' <tr>'
+' <td align="right"><input name="ok" type="button" value="确定" οnclick="top.city2_map.HT_frame.subdelstation();"></td>'
+" <td align='left'><input name='cancel' type='button' value='取消' onClick='javascript:top.city2_map.city2_map.closeOrDelHot(/"delstationdiv/");' ></td>"
+' </tr>'
+' </table>'
+' </form>'
var ex=(parseInt(top.city2_map.document.body.clientWidth)-400)/2;
var ey=(parseInt(top.city2_map.document.body.clientHeight)-350)/2;
top.city2_map.city2_map.showHTGNdiv2(ex,ey,station_str,'delstationdiv',400,350);
init();
Html转化为DWR层
最新推荐文章于 2023-03-16 17:44:24 发布