You the setInterval method of window obj to set the refersh interval and the javascript function which should be invoked on refresh. In the javascript function, update the div content. Something like this should work:
Thanks for the reply, it's working.
Actually i am developing a chat application, i am rendering the data in to div using ajax.
So i need to refresh the div to get new chat messages.
Thank you this code is working for me.
Thanks.
Quick! Before anybody notices! Cover it up with this tiny ad:
a bit of art, as a gift, the permaculture playing cards