先声明一下,我把上面的叶面名给了几处,打错了。我要不行了,改了若干次,没出来。*_* ,我不知道target 和 onclick怎么用...不要鄙视我...注意了一下,payer_regist_iframe里没看到<frameset>payer_regist_iframe开头代码是这样的
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=Shift_JIS">
<title>請求先新規登録</title>
<link href="css/style.css"
rel="stylesheet"
type="text/css">
<script language="JavaScript">
<!--
function houjingrp_search() {
window.open("payer_houjingrp_list.html","print", "left=0, top=0, status=no, resizable=1, scrollbars=1, toolbar=1, menubar=1"
;
}
function houjingrp_regist(mode) {
if( mode=="1"
){
document.all.show_regist.style.display = "Block";
}
else
{
document.all.show_regist.style.display = "none";
}
}
function postcode_search() {
window.open("payer_postcode_list.html","print", "left=0, top=0, status=no, resizable=1, scrollbars=1, toolbar=1, menubar=1"
;
}
//-->
</script>
</head>
<body class="
iframe1"
>
<form name="postcode"
action="InputServlet"
method="get">
<table width="100%"
border="0"
cellpadding="0"
cellspacing="0"
class="listpage"
height="100%">
payer_regist相关的是这样的:
......
<body onLoad="LoadTab('payer_regist_iframe.html')">
<form action="InputServlet"
name="regist"
method="post">
......
<iframe src="payer_regist_iframe.html"
onreadystatechange="frmop();"
height="460"
width="100%"
border="0"
marginheight="0"
marginwidth="0"
frameborder="0"
hspace="0"
vspace="0"
SCROLLING="auto"
name="tab_iframe"
></iframe>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="subtitleTD"
colspan="2"><div align="right">
<table border="0"
cellpadding="0"
cellspacing="0">
<tr id="btn1"
style="display:Block">
<!-- <td><a href="payer_list.html"><img src="img/regist2_btn.gif"
width="78"
height="26"
border="0"></a></td>
<td><input type="Image"
name="submit"
src="img/regist2_btn.gif"
width="78"
height="26"
border="0"
onclick ="sub(this.form)"></td>
-->
<td><a href="javascript:void(window.tab_iframe.postcode.submit())"><img src="img/regist2_btn.gif"
width="78"
height="26"
border="0"></a></td>