Accessing the contentWindow
property to obtain the location
object.
$('#iframe').each(function() { this.contentWindow.location.reload(true); });
Callback for IFrame
Loading
With the onload
event, your code is called when an IFrame
has finished loading.
$('#iframe').load(function() { // do something });