本页面为模态对话框,部分代码如下:
<html>
<head>
<base target= "_self ">
</head>
<body> <form action= "editsave.asp " target= "_self " method= "post ">
<table>
<tr>
<td> 上次登陆时间: <%=rs( "logintime ")%> </td>
</tr>
<tr>
<td> <div align= "center ">
<input class= "buttonface " type= "submit " name= "Submit " value= "修改 " onClick= "window.close() ">
<input class= "buttonface " type= "reset " name= "Submit " value= "重设 ">
</td>
</div> </tr>
</table> </form>
</body>
</html>
为什么每次都打开editsave.asp页面,怎样才能不打开?
望高手帮忙!
------解决方案--------------------
function Editinfo()
{
window.showModalDialog( "student/a.asp ", "Editinfo ", "dialogWidth:400px;dialogHeight:280px;status:no;help:no;scroll:no; ");
}
<A href= "javascript:Editinfo(); "> <FONT color=#ffffff> 修改资料 </FONT> </A>
a.asp
<iframe src=Editinfo.asp> </iframe>
------解决方案--------------------
帮你顶一下