Auto updating a div

44 views
asked Dec 3, 2012 in General by roller1 (500 points)
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 like 0 dislike
answered Dec 3, 2012 by lionhost (4,060 points)
0 like 0 dislike
answered Dec 3, 2012 by tareq101 (4,880 points)
Try this in javascript
<script>
function render (){
$('#mydiv').html("<b>Uploading</b>")
}
window.setInterval(render, 600);
</script>
...