Possible Duplicate:
how to refresh an iframe automatically
I need to refresh an iframe on a php page from its source, which is given by
src = "<?php echo site_url();?>/information"
I want this to be done often, let’s say every 1 or 2 seconds.
Looking for a way to do this in JavaScript that I can search for the id of the iframe and refresh it.
Demo: http://jsfiddle.net/GqvZS/3/