jQuery获取iframe的document对象

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

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

posted @ 2014-10-09 23:19  沙漠小店  阅读(1433)  评论(0编辑  收藏  举报