jquery父页面iframe在子页中高度的显示

     $(window.parent.document).find("#ctl00_cph_context_IFrame1").load(
      function(){
        var main = $(window.parent.document).find("#ctl00_cph_context_IFrame1");
        var thisheight = $(document).height()+30;
        main.height(thisheight);
      });

posted @ 2013-08-16 10:33  米西摩姆  阅读(649)  评论(0编辑  收藏  举报