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

· 16년 전 · 1560
자바스크립트로 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년 전 조회 848
16년 전 조회 803
16년 전 조회 1,179
16년 전 조회 1,592
16년 전 조회 1,081
16년 전 조회 877
16년 전 조회 1,531
16년 전 조회 997
16년 전 조회 1,175
16년 전 조회 1,561
16년 전 조회 1,110
16년 전 조회 870
16년 전 조회 834
16년 전 조회 977
16년 전 조회 797
16년 전 조회 950
16년 전 조회 899
16년 전 조회 952
16년 전 조회 1,266
16년 전 조회 1,015