WILD at HEART
The Purpose Driven Life
2008년 3월 13일 목요일
document 접근에 contentDocument property의 사용
[Object].document 접근시
IE외에는 frame의 document 접근에 contentDocument property를 사용하면 됩니다.
f = document.getElementById("frame");
if ( f.contentDocument ) {
src_doc = f.contentDocument;
working_title = src_doc.title;
}
댓글 없음:
댓글 쓰기
최근 게시물
이전 게시물
홈
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기