From The Blog

jQuery: reload an iFrame

23 August 2012, in jQuery

//reload 1 iframe

$('#iframe').contentWindow.location.reload(true);
//reload all iFrames
$('iframe').each(function() {
  this.contentWindow.location.reload(true);
});
//by changing source to the same source
$('iframe').attr('src', $('iframe').attr('src'));



Post a Comment