Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14120 reviews 1680 hosting providers

Questions & Answers

Auto updating a div

Dec 3, 2012 by roller1
Hi all..

Can anyone please tell me how can I auto update a div? I am looking for a simple and straight forward method. Any help would be appreciated.

Thanks in advanced

2 Answers

0 votes
Dec 3, 2012 by lionhost
0 votes
Dec 3, 2012 by tareq101
Try this in javascript
<script>
function render (){
$('#mydiv').html("<b>Uploading</b>")
}
window.setInterval(render, 600);
</script>