개발하자/자바스크립트
이전페이지 다음페이지로 이동하기
i구야
2015. 3. 3. 10:20
<html>
<head>
<style type="text/css">
</style>
<script>
window.onload=function(){
b1.onclick=function(){ history.back(); }
b2.onclick=function(){ history.forward(); }
}
</script>
</head>
<body>
<input type="button" value="이전" id="b1">
<input type="button" value="다음" id="b2">
</body>
</html>