Last Updated: February 25, 2016
·
10.23K
· jurisgalang

Reload an iframe (jQuery)

Same as:

var src = $("#iframe").attr("src")
$("#iframe").attr("src", src)

But less awkward:

$("#iframe").attr("src", function(index, attr){ 
  return attr;
});