프로그래밍/Front (HTML, CSS, JS) [JavaScript] LOCATION 꼬렙 2011. 7. 25. 19:17 728x90 location.href="xxxx.html" : 지정한 문서로 이동 location.href="http://xxx.xxx.xxx" : 지정된 주소로 이동 open.location.href="http://xxx.xxx.xxx" : 자신이 열어놓은 창을 지정된 주소로 이동 parent.frame.location.href="xxxx.html" : 부모창 지정 프레임을 지정된 문서로 이동 location.reload() : 새로고침 open.location.reload() : 자신이 열어놓은 창을 새로고침