25. 로케이션객체
.NET프로그래밍/JavaScript 1.2 2009. 8. 10. 17:19 |<script>
function GoNaver() {
location.href = "http://www.naver.com/";
}
</script>
<input type="button" value="닷넷코리아로 이동" onclick="location.href='http://dotnetkorea.com/';" />
<table border="1" onmouseover="GoNaver();">
<tr>
<td>마우스를 올려보세요...</td>
</tr>
</table>
<a href="#" onclick="location.reload();">현재 페이지 새로고침</a>
<a href="javascript:location.reload();">현재 페이지 새로고침</a>
'.NET프로그래밍 > JavaScript 1.2' 카테고리의 다른 글
27. 폼(form) 객체 - 입력 값에 대한 유효성 검사 (0) | 2009.08.11 |
---|---|
26. 히스토리(history) 객체 (0) | 2009.08.11 |
24. 도큐먼트객체 (0) | 2009.08.10 |
23. 윈도우객체 (0) | 2009.08.10 |
자바스크립트 학습순서 (0) | 2009.08.10 |