$('iframe#myiframe').attr('src', $('.content').contents()[0].URL);
jQuery Refresh / reload an iframe
There are cases where it's preferable to reload an individual iframe, instead of the entire page.
If the page itself is reloaded, the iframe loses it's location.
Snippet Viewed 1955 times.
Share your jQuery code snippets:
- Get some recognition & link back to your site.
Related Articles