如何在firefox中使用JQuery访问parent.document元素?

例如:

$(elementid,top.document).attr(attributeName)

$(elementid,parent.document).attr(attributeName)

Chrome在Firefox中不起作用,但在IE中不起作用

有人知道firefox的等价物是什么吗

谢谢

那么:

window.parent.$(elementid).attr(attributeName);

发表评论