Pages

Thursday 13 February 2014

How jQuery Refresh Page or Reload Page in jQuery c#

How jQuery Refresh Page or Reload Page in jQuery c#


<script type="text/javascript">
 $(function()
 {
 $('#btnClick').click(function()
 {
 location.reload();
 })
 })
 </script>




<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>jQuery Refresh or Reload web Page</title>
 <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js">
</script>
 <script type="text/javascript">
 $(function()
 {
 $('#btnClick').click(function()
{
 location.reload();
 })
 })
 </script>
 </head>
 <body>
 <div>
 <input type="button" id="btnClick" value="Refresh" />
 </div>
 </body>
 </html>








No comments:

Post a Comment