I'm currently working on an app that has a dashboard-style page that we needs to be automatically refreshed. After digging around, I realised that the code to do this was ridiculously trivial:

UPDATE

Frederic in the comments mentioned a way nicer way of doing this, without needing Javascript. Simple add a refresh meta tag in the header of your html.

e.g.

(This example refreshes after 10 seconds.)

The browser automatically knows how to handle it, and you don't need any messy javascript!

Find more information about meta refresh here: http://en.wikipedia.org/wiki/Meta_refresh

Need to find a lawyer for your business? Get in touch with my company Lexoo and we'll find you a great one for free.