Last Updated: February 25, 2016
·
663
· hslzr

Force the update of an iframe

Using JavaScript:

var iframe = document.getElementById('myIframe');
iframe.src = iframe.src;

Using jQuery:

$('#myIframe').attr('src', $('#myIframe').attr('src'));