jQuery, JavaScript 새로고침(reload)

by 조쉬 posted Nov 17, 2016
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
<!doctype html>
<html lang="kr">
<head>
  <meta charset="utf-8">
  <title>demo</title>
  <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
  <script>
    $(document).on("click","button[name=reload]",function(){
        location.reload();      
    });
  </script>
</head>
<body>
    <button name="reload">새로고침</button> 
</body>
</html>

Articles

1 2 3 4 5 6 7 8 9