"프레임, 아이프레임 새로고침"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
5번째 줄: 5번째 줄:
==개요==
==개요==
;페이지 내 iframe을 새로고침
;페이지 내 iframe을 새로고침
<source lang='javascript'>
<syntaxhighlight lang='javascript'>
document.getElementById(프레임ID).contentDocument.location.reload(true);
document.getElementById(프레임ID).contentDocument.location.reload(true);
</source>
</syntaxhighlight>
<source lang='javascript'>
<syntaxhighlight lang='javascript'>
document.getElementsByName(프레임명).contentDocument.location.reload(true);
document.getElementsByName(프레임명).contentDocument.location.reload(true);
</source>
</syntaxhighlight>


;[[프레임 메뉴 구조]]에서 다른 프레임 새로고침
;[[프레임 메뉴 구조]]에서 다른 프레임 새로고침
<source lang='javascript'>
<syntaxhighlight lang='javascript'>
parent.프레임명.location.reload(true);
parent.프레임명.location.reload(true);
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:52 기준 최신판

frame, iframe reload 하기
프레임 새로고침, 아이프레임 리로드
iframe 리프레시

1 개요[ | ]

페이지 내 iframe을 새로고침
document.getElementById(프레임ID).contentDocument.location.reload(true);
document.getElementsByName(프레임명).contentDocument.location.reload(true);
프레임 메뉴 구조에서 다른 프레임 새로고침
parent.프레임명.location.reload(true);

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}