Is there a way to reload iframe without refreshing the whole page?
Asked
Active
Viewed 1,455 times
0
-
possible duplicate of [What's the best way to reload / refresh an iframe using JavaScript?](http://stackoverflow.com/questions/86428/whats-the-best-way-to-reload-refresh-an-iframe-using-javascript) – Rick Smith Aug 24 '15 at 14:56
1 Answers
0
you can take the iframe source and append a t=time()
document.getElementById('iframe').src = 'http://www.coolwebsite?t=' + time();

Sean Thayne
- 863
- 1
- 7
- 9