何让JAVASCRIPT文字显示出来

来源:百度知道 编辑:UC知道 时间:2024/05/13 04:59:34
<script language="javascript">
Path=String.fromCharCode(47,49,54,122,47,48,47,115,104,101,102,108,106,106,120,47,49,47,52,46,119,109,97)
document.write("<OBJECT id=NSPlay codeBase=http:\/\/activex.microsoft.com\/activex\/controls\/mplayer\/en\/nsmp2inf.cab#Version=6,4,5,715
</script>

Path=String.fromCharCode(47,49,54,122,47,48,47,115,104,101,102,108,1

告诉我这些数字怎么能看到 如何把PATH显示在网页上
对啊显示在网页bawandy的也不可以显示啊

楼主的问题上次我已经答过了
http://zhidao.baidu.com/question/22898150.html

后面再加一句就可以看了

<script language="javascript">
Path=String.fromCharCode(47,49,54,122,47,48,47,115,104,101,102,108,106,106,120,47,49,47,52,46,119,109,97)
alert(Path);
</script>

lz的意思是显示在网页不是弹出框对吧?
js里面加上这句就ok了,
document.getElementById("1").innerText =Path;

然后在页面需要显示的位置写上
<div id="1"></div>