<a href = "javascript:window.reload()">새로고침</a>
<a href ="#" onclick="location.reload();">새로고침</a>
<input type=button value=새로고침 onclick="javascript:window.location!.reload()"> 새로고침 버튼
<a href = "javascript:self.close()">닫기</a>
<a href = "javascript:window.close();">닫기</a>
<a href ="#" onclick="parent.close();">창닫기</a>
<input type="button" value="창 닫기" onclick=javascript:window.close();>
<a href = "javascript:history.home()">홈</a>
<a href = "javascript:history.forward()">앞으로</a>
<a href = "javascript:history.go(1)">앞으로</a>
<a href = "javascript:history.back()">이전으로</a>
<a href = "javascript:history.go(-1)">이전으로</a>
<input type=button value=뒤로 onclick=history.go(-1)> 뒤로가기 버튼
<a href = "javascript:main.save();">저장</a>
<img src=이미지경로 onclick="document.form.reset()" alt="취소"> 취소버튼
[자바스크립트] window객체, loaction객체, history객체, navigator객체 (0) | 2017.09.05 |
---|---|
[자바스크립트] event.keyCode의 숫자표 (0) | 2017.09.04 |
[프로그래밍] 자바스크립트 기초 (0) | 2017.08.22 |
자바스크립트를 이용해서 링크 걸기 (0) | 2017.08.14 |
[프로그래밍/자바스크립트] window객체, loaction객체, history객체, navigator객체 (0) | 2017.08.12 |