function command_refresh() {
document.topp.location.href()
}
try,try
document.topp.location.href()
}
try,try
解决方案 »
- 有个java web的小问题
- 求代码,做一个图片声音文字的连接游戏。
- mousemove的问题?
- 求2条正则,格式化html
- [求助] ExtJs问题,同一个程序,在客户的机器上运行正常,在我自己的笔记本上错误成堆。
- js无法向父窗口传值,Untitle.html与a。html可以获取,Untitle。html与ShowPart_interface.jsp无法获取,而a.html的代码就是....
- 怎样定时显示层?
- 如何用脚本控制在客户端保存网页中的图片
- 请问怎么在DIV中显示滚动条
- FullCalendar v1.6.4 中的事件渲染上去是怎么排序的?
- 哥们帮我
- 在NetScape7.0(7.1)下,如何动态修改表格单元内容?
改成
document.topp.location.reload();
如:<iframe id=iframe1>
document.iframe1.location.reload();
document.getElementById("topp").document.execCommand("Refresh");
或
document.all.topp.document.execCommand("Refresh");
或
document.getElementsByTagName("iframe")[0].document.execCommand("Refresh");
有没有人能够帮我解决问题!
<head>
<title>Html</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="CSS.css" type="text/css">
<script>
//function command_refresh() {
// document.topp.document.execCommand("Refresh");
//}
function Message_onkeydown() {var iekey=event.keyCode;
if (iekey==13){
previewurl();
}
}
function previewurl()
{
if (url.value.length==''){
return false;
}
else{
document.topp.location.href = "http://"+url.value;
}
}
function senturl(){
if (url.value.length=='') {
return false;
}
else {
var urlsent='1http://'+url.value;
(top.top).iTouchNetConf.SetURL(urlsent,true);
url.value='';
}
}</script>
</head>
<body bgcolor="#FEFFF6" leftmargin="0" topmargin="0" >
<table width="102%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td valign="top" height="15">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="32"><img src="image/image/jy11_13.gif" width="29" height="24" onClick="previewurl()"></td>
<td width="10"><img src="image1/line_v.gif" width="2" height="27"></td>
<td align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">推送地址:http://
<input type="text" name="url" size="35" class="input_html" onkeydown="return Message_onkeydown();">
<input type=hidden name=urllink > </td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" height="100%"><iframe frameborder=0 src="text.htm" name="topp" width=100% height=100% scrolling="auto"></iframe></td>
</tr>
</table>
</body>
</html>
document.topp.document.execCommand("Refresh");
}改爲-->function command_refresh() {
previewurl();
}