Learn free online HTML5, javascript, and jquery Tutorials by Examples

Wednesday 21 May 2014

How to refresh a page in jQuery

------------------------------------------------------
<script src="http://http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> 
 
<script>
 
 $('#Refresh').click(function() {
 
           location.reload();
 
 });
 
</script>


<button id="Refresh">Refresh a Page in jQuery</button>
------------------------------------------------------

No comments:

Post a Comment