iframeで処理するjqueryの関数が1つありますが、エラーが発生しています:アクセスが拒否されました。私はIE 8 PFBコードを使用しています:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function resizeIframe(iframe) {
iframe.height = iframe.contentWindow.document.body.scrollHeight + "px";
}
</script>
</head>
<body>
<iframe src="http://www.mysite.com" id="idIframe" onload="resizeIframe(this)" ></iframe>
</body>
</html>
デバッグも試しましたが、正確な解決策が見つかりません...誰かアイデアがありますか?