摘要: 第一、在iframe中查找父页面元素的方法: $('#id', window.parent.document) 第二、在父页面中获取iframe中的元素方法: $(this).contents().find("#suggestBox") 第三、在iframe中调用父页面中定义的方法和变量: pare 阅读全文
posted @ 2016-02-25 14:05 Tirisfal 阅读(470) 评论(0) 推荐(0) 编辑