问:如何获取当前页面的高度?
答:常用方法
var docheigt = $(document).height();
问:如何将上文的得到的页面高度,赋值给父页面的iframe?
答:常用方法
$(window.parent.document).find("#iframe").css("height",""+docheigt+"px");
问:如何获取当前页面的高度?
答:常用方法
var docheigt = $(document).height();
问:如何将上文的得到的页面高度,赋值给父页面的iframe?
答:常用方法
$(window.parent.document).find("#iframe").css("height",""+docheigt+"px");