반응형

창닫기


<a href="javascript:window.close()">창닫기</a>
<input type="button" value="창닫기" onclick="window.close()">

뒤로


<a href="javascript:history.back()">뒤로</a>
<a href="javascript:history.go(-1)">뒤로</a>
<input type="button" value="뒤로" onclick="history.back()">
<input type="button" value="뒤로" onclick="history.go(-1)">

앞으로


<a href="javascript:history.forward()">앞으로</a>
<a href="javascript:history.go(1)">앞으로</a>
<input type="button" value="앞으로" onclick="history.forward()">
<input type="button" value="앞으로" onclick="history.go(1)">

새로고침


<a href="javascript:location.reload()">새로고침</a>
<a href="javascript:history.go(0)">새로고침</a>
<input type="button" value="새로고침" onclick="location.reload()">
<input type="button" value="새로고침" onclick="history.go(0)">
반응형

+ Recent posts