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.