Я пытаюсь получить высоту d документа. Мои первые инстинкты были:
$('iframe').document.height();
или
$('iframe').contentWindow.document.height();
Они не работают, и мне не повезло в поисках. Буду признателен за любую помощь!
$("iframe",top.document).contents().height(); alert("iframe height=" + $("iframe",top.document).height());
Попробуйте это:
$(document).ready(function(){ $("iframe").bind('mouseover', function(){ alert($(this).contents().height()); }); });