jquery子iframe访问父器皿的方法
jquery子iframe访问父容器的方法
在一个iframe中使用jquery选取父容器中的元素
网上 很多种写法是:
$('#id', window.parent.document)
但是我用了下不行,我的jquery版本是1.4.3
最后发现可以的方法是
parent.$("#config_${config.id}").hide("slow");
使用js内置访问方法parent