<SCRIPT LANGUAGE="JavaScript">
opener.location=opener.location.href
</script>请哪位高手帮帮忙!!!
opener.location=opener.location.href
</script>请哪位高手帮帮忙!!!
解决方案 »
- simpleModal如何隐藏模态窗口后,下拉框重新选择的值不会变回
- 求教js达人
- 点击按钮更换图片
- 在wml文件里怎样加入JS代码?
- jquery 如何判断.list下出现最多的节点标签?
- 请问newWindow.document.execCommand('saveas',....)如何限制弹出的对话框只能是htm格式,不能选择txt格式?
- 太简单问题,没有先例,只好提问散分!如何清空一个只读的文本框?
- 巨难:下拉框按字母键选取相关拼音首字母的问题。
- 正则问题
- 有没有大神知nuxt 不能像 vue 一样使用 localstorage, 有什么解决办法,网上搜到的 99.9% 都是用户登录状态的列子,但是我要储存很多数据
- 什么是框架?
- 简单对象问题
'test.htm'<SCRIPT LANGUAGE="JavaScript">
window.onload=function(){
opener.location=opener.location.href
}
</script>
<SCRIPT LANGUAGE="JavaScript">
window.onload=function(){
opener.location=opener.location.href
}
</script>
但一打开窗体还是出错了:opener为空或不是对象
那肯定报错~·opener代表的子窗口~·
只要用window.open才能用opener
<html>
<TITLE>通迅缴费</TITLE>
<meta http-equiv=Content-Type content="text/html; charset=gbk">
<SCRIPT LANGUAGE="JavaScript">
window.onload=function(){
opener.location=opener.location.href;
}
</SCRIPT>
<BODY>
<form action="recharge.do" method="post">
缴费号码:
<input type="text" name="telephone" id="telephone" >
<span id="length" style="color: red;"></span>
<br>
<input id="area" name="area" type="text" style="color: red;" /> <br>
缴费金额:
<input id="payMoney" name="payMoney" type="text">
<input type="button" value="查询">
<br>
缴费密码:
<input id="accountPassword" name="accountPassword" type="password">
<br>
<input name="submit" type="submit" value="确定">
<input name="reset" type="reset" value="重置"> <table id="viewPayment">
<tr>
<td>
编号
</td>
<td>
时间
</td>
<td>
缴费号码
</td> <td>
金额
</td> <td>
代理帐号
</td> <td>
服务说明
</td>
<td>
完成状态
</td>
</tr>
<tr>
<td>356</td>
<td>2009-09-30 17:33:35.0</td>
<td>15824139085</td>
<td>100</td>
<td>test</td>
<td></td>
<td>缴费成功</td>
</tr>
</table> </form>
</BODY>
</HTML>