手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >jQuery获取iframe的document对象的方法
jQuery获取iframe的document对象的方法
摘要:获取iframe的document对象的目的就是进行dom的操作$(function(){varresult=$('#myframe').p...

获取iframe的document对象的目的就是进行dom的操作

$(function() { var result = $('#myframe').prop('contentWindow').document; console.log(result); });

这样输出来的结果是:document对象

【jQuery获取iframe的document对象的方法】相关文章:

JQuery使用index方法获取Jquery对象数组下标的方法

JQuery给网页更换皮肤的方法

jquery预加载图片的方法

js获取滚动距离的方法

jquery实现图片左右切换的方法

jQuery仿gmail实现fixed布局的方法

JavaScript获取两个数组交集的方法

javascript获取select值的方法分析

JavaScript的document和window对象详解

jQuery实现html表格动态添加新行的方法

精品推荐
分类导航