【iframe】同一个页面两个iframe,相互访问内部内容

1.页面b.html访问页面a.html中的laydateIn1

window.parent.$(".panel-body")[0].contentWindow.$("#laydateIn1")

2.页面a.html访问页面b.html中的c_stock

window.parent.$(".panel-body")[1].contentWindow.$("#c_stock").val()

 

posted @ 2017-07-04 10:54  丶会飞的羊  阅读(1149)  评论(0)    收藏  举报