ITeye博客

Reload an IFram with jQuery

boogie · 2008-10-02 09:13 · AJAX · Markdown

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 });


评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。