How to refresh an IFrame using Javascript

Written by Ian Carnaghan · 3 sec read >
var iframe = document.getElementById('iframe_id');
iframe.src = iframe.src;

iframe_id is the ID of the IFrame

Last Updated On March 20, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

Notify of