java开窗口~~~~ msg.document.documentElement.innerHTML="" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 var msg=window.open("","_blank","") 或者使用msg.document.open("text/html","replace"); var msg=window.openmsg.document.open("text/html","replace");msg.document.write("<HEAD></HEAD>");msg.document.write("<BODY BGCOLOR=#FFFFF0><CENTET><FORM METHOD=POST ACTION=>='10'><FORM></BODY>");document.open()方法可以清除当前文件内容 <script>var msg=window.open()function a(){msg.document.open()//if(msg.document.documentElement.innerHTML!="") msg.document.documentElement.innerHTML=""msg.document.write("<HEAD></HEAD>");msg.document.write("<BODY BGCOLOR=#FFFFF0><CENTET><FORM METHOD=POST ACTION=''><input><FORM></BODY>");}</script><input onclick="a()"> 这句还有毛病var msg=window.open,应该是var msg=window.open() <script>function a(){var msg=window.open()msg.document.open("text/html","replace");msg.document.write("<HEAD></HEAD>");msg.document.write("<BODY BGCOLOR=#FFFFF0><CENTET><FORM METHOD=POST ACTION=>='10'><FORM></BODY>");}</script><input onclick="a()"> sorry,这段代码没有问题,因为比较长,所以后面的参数去掉了 IFRAME 操作 父窗体无效? 请大家给我说个js自学的书 实在是找不到原因了,请大家帮帮忙? 想写一个脚本函数来判断是不是移动的手机号码 急用,如何实现...请帮忙. 马上给分!文本框中时间的正则表达式! 【200分】如何在网页里实现ctrl+z的效果。 如何让li标签有像input一样的onfocus onblur等事件功能 style='page-break-before:always疑问 怎麼得知彈出的頁面是否下載完畢,謝謝了! 客户端确认 javascript中的innerHtml会对输入的值进行格式化,如何禁止它格式化html呢?
msg.document.open("text/html","replace");
msg.document.write("<HEAD></HEAD>");
msg.document.write("<BODY BGCOLOR=#FFFFF0><CENTET><FORM METHOD=POST ACTION=>='10'><FORM></BODY>");document.open()方法可以清除当前文件内容
var msg=window.open()
function a()
{
msg.document.open()
//if(msg.document.documentElement.innerHTML!="") msg.document.documentElement.innerHTML=""
msg.document.write("<HEAD></HEAD>");
msg.document.write("<BODY BGCOLOR=#FFFFF0><CENTET><FORM METHOD=POST ACTION=''><input><FORM></BODY>");
}
</script>
<input onclick="a()">
function a()
{
var msg=window.open()
msg.document.open("text/html","replace");
msg.document.write("<HEAD></HEAD>");
msg.document.write("<BODY BGCOLOR=#FFFFF0><CENTET><FORM METHOD=POST ACTION=>='10'><FORM></BODY>");
}
</script>
<input onclick="a()">