【发布时间】:2010-12-10 20:39:36
【问题描述】:
我有一个 XBL 方法:
<method name="getValue">
<body>
<![CDATA[
return "TEST"
]]>
</body>
</method>
然后,在一个新打开的窗口中,我调用:
print(window.opener.getChannel()); // this prints the value
但它说
window.opener.getChannel 不是一个 功能
为什么?
【问题讨论】:
标签: javascript xul xbl