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'));
Written by Héctor Salazar
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Html
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#