자바스크립트로 div팝업띄우고 iframe속에서 내용추출하려하는데 잘안됩니다. 도와세요.

· 16년 전 · 1586
자바스크립트로 div팝업띄우고 iframe속에서 내용추출하려하는데 잘안됩니다. 도와세요.



<html>
<script language="javascript">
var oPopup = window.createPopup();
function top_estimate()
{
var oPopBody = oPopup.document.body;
oPopBody.innerHTML = "<div align='center'><iframe name='sitepriceEstimate' id='sitepriceEstimate' width='300' height='610' src='http://sitei.kr/html_file/top_estimate.html' frameborder='0'></iframe></div>";
oPopup.show(300, 50, 300, 610, document.body);
}
</script>
<body bgcolor="ccccff">
<a href="javascript:top_estimate()"><img src="http://sitei.kr/upload/2009/04/01/1238575625-96-0.jpg" border="0"></a>
</body>
</html>



결과값이 백지로 나오네요...

아이프램속에 있는걸 못읽어내는것 같은데 왜 그러는지 원인도 모르겠고......

전문가님들의 분석과 해결방안좀 부탁드립니다.

코드수정해서 올려주시면 더욱 감사드리겠습니다.
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
16년 전 조회 869
16년 전 조회 819
16년 전 조회 1,199
16년 전 조회 1,613
16년 전 조회 1,102
16년 전 조회 893
16년 전 조회 1,543
16년 전 조회 1,014
16년 전 조회 1,194
16년 전 조회 1,587
16년 전 조회 1,123
16년 전 조회 894
16년 전 조회 857
16년 전 조회 996
16년 전 조회 808
16년 전 조회 970
16년 전 조회 916
16년 전 조회 967
16년 전 조회 1,284
16년 전 조회 1,031