Saturday, 24 December 2016

How to Reload Page on Anchor or label click ??

How to Reload Page on click??



Html Code:

<div id="test">
    <p>this is test.</p>
    <p id="closeAuction">Reload Page<p>
</div>




Jquery Code:

 $(document).ready(function() {
         $('#closeAuction').click(function() {
        location.reload();    
     });   
   });  




For Live Demo Click Here Live Demo
banner
Previous Post
Next Post

0 comments: