0

Is there a way to reload iframe without refreshing the whole page?

Cory
  • 13,635
  • 23
  • 54
  • 71
  • 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 Answers1

0

you can take the iframe source and append a t=time()

document.getElementById('iframe').src = 'http://www.coolwebsite?t=' + time();
Sean Thayne
  • 843
  • 1
  • 7
  • 9