如何用JavaScript取得当前页面的URL、HTML源码和可见文本? 对于IE浏览器来说当前页面的URLwindow.location.hrefHTML源码document.all[1].innerHTML可见文本document.all[1].innerText 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 window.location.href是本地的地址,我要地址栏中的地址。document.all[1].innerHTMLdocument.all[1].innerText都不行啊 <script>alert(top.location.href)alert(document.documentElement.outerHTML)alert(document.body.innerText)</script> 你总要个body呀,不然,当然说没有对象<body>...</body> 奇怪,我是原来的程序弄掉了,现在重写的。原来似乎可以不要这个的,我是另一个htm文件去得到当前IE文档的内容,就像FlashGet那样。要不换成vbs也行。 解决了:external.menuArguments.document.documentElement.innerTextexternal.menuArguments.document.documentElement.innerHTML external.menuArguments.document.documentElement.innerTextexternal.menuArguments.document.documentElement.innerHTML 求PHP 上什么控件或函数可以发起XML请求和获取回数据 关于post的小问题 如何能够让上传sql文档变得界面化 firebug技术。。 php(限制while循环显示的记录数)急急!!!!!!!!!! 英文sql可以执行 但是有汉字失败 新手求教:XP下mysql与PHP连接问题 如何指定页面刷新??? foreach后,什么也echo不出 Phpunit DOS下运行报错 求大侠帮忙 关于GD库和绘图的问题,斑竹、大侠帮忙! 我不想做程序员了!!!!!!!!!
document.all[1].innerText都不行啊
alert(top.location.href)
alert(document.documentElement.outerHTML)
alert(document.body.innerText)
</script>
<body>
...
</body>
原来似乎可以不要这个的,我是另一个htm文件去得到当前IE文档的内容,就像FlashGet那样。要不换成vbs也行。
external.menuArguments.document.documentElement.innerHTML
external.menuArguments.document.documentElement.innerHTML