Posted by : Safras Ahamed Saturday, March 23, 2013

Its small code but powerful and helpful.
 

<script>
 var auto_refresh = setInterval(
 function(){
  $('#autorefresh').fadeOut('slow').load('refresh.php').fadeIn("slow");
 }, 20000);
</script>

<div id="autorefresh">Hello</div>

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Popular Post

Blogger templates

Labels

- Copyright © My Code Genius by 2 Geniuses -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -