pnkosq
Last Updated: February 25, 2016
·
416
· 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'));