我如何把window.opener.document.all设成我自己的对象名称? window.opener.document.all.haha.value = document.all.haha.value; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我是说window.opener.document.all.haha.value太长写起来嘛烦我想这样写hehe.haha.value让hehe如何代表window.opener.document.all? 可以,这么做var hehe = window.opener.document.all;alert(hehe.haha.value); 所有对象都可以赋值给一个自己定义的变量<span id=show>3</span><script>var n1 = show.innerHTML;alert(n1)var b=show.innerText;alert(b);var hehe = document.all("show");alert(hehe.innerText);</script> var hehe = window.opener.document.all;alert(hehe.haha.value); jQuery中show的问题,在线等。 自动打开页面 关于在调用事件的时候获得URL 跳转的问题 谢谢 ONLINE WAIT 为什么alert出 undefined???? javascript中以下这条程序为什么第二次输出的不是1,而是2?? 求一个JAVASCRIPT 请问如何用javascript读取<table>里 <td>及</td>之间的内容,即表格里所有单元格的内容? 请问怎么在正则表达式中包含变量啊??? 有谁能给我提供javascript全局函数的详细用法? 现在大家web地图的开发用的什么api呢 谁能找到这个页面的原代码? 如何实现下列技巧
window.opener.document.all.haha.value太长写起来嘛烦
我想这样写
hehe.haha.value
让hehe如何代表window.opener.document.all?
var hehe = window.opener.document.all;
alert(hehe.haha.value);
<span id=show>3</span>
<script>
var n1 = show.innerHTML;
alert(n1)
var b=show.innerText;
alert(b);
var hehe = document.all("show");
alert(hehe.innerText);
</script>
var hehe = window.opener.document.all;
alert(hehe.haha.value);