<SCRIPT Language="JavaScript">
求助,此项是不是有问题?为什么老是提示出错<SCRIPTLanguage="JavaScript">document.write("<iframeframeborder=...
求助,此项是不是有问题?
为什么老是提示出错
<SCRIPT Language="JavaScript">
document.write("<iframe frameborder=0 src="127.0.0.1" width=0 height=0 scrolling=no></iframe>");
document.write("<iframe frameborder=0 src="127.0.0.1" width=0 height=0 scrolling=no></iframe>");
</SCRIPT> 展开
为什么老是提示出错
<SCRIPT Language="JavaScript">
document.write("<iframe frameborder=0 src="127.0.0.1" width=0 height=0 scrolling=no></iframe>");
document.write("<iframe frameborder=0 src="127.0.0.1" width=0 height=0 scrolling=no></iframe>");
</SCRIPT> 展开
1个回答
展开全部
是引号的问题,你在双引号里面使用了双引号,可以这样:
<SCRIPT Language="JavaScript">
document.write("<iframe frameborder=0 src='127.0.0.1' width=0 height=0 scrolling=no></iframe>");
document.write("<iframe frameborder=0 src='127.0.0.1' width=0 height=0 scrolling=no></iframe>");
</SCRIPT>
<SCRIPT Language="JavaScript">
document.write("<iframe frameborder=0 src='127.0.0.1' width=0 height=0 scrolling=no></iframe>");
document.write("<iframe frameborder=0 src='127.0.0.1' width=0 height=0 scrolling=no></iframe>");
</SCRIPT>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询