Today to use the framework of the IFRAME refresh, found on the internet about this content, organized as follows:
(1) General page Refresh--reload method, this method forces the browser to refresh the current page.
Syntax: Location.reload ([Bforceget])
Parameters: Bforceget, optional parameter, default is False, the current page is taken from the client cache. True, the latest page from the server is taken as a GET, equivalent to the client clicking F5 ("Refresh")
Window.location.reload ();
(2) page refresh within the IFRAME frame
A, method one: document.getElementById (' Frameid '). ContentWindow.location.reload (True);
B, jquery implementation forced Flush: $ (' #iframe '). attr (' src ', $ (' #iframe '). attr (' src '));
(3) Refresh the open new page:
A, refresh the page containing the frame by: Parent.location.reload ();
b, the child window refreshes the parent window: Self.opener.location.reload ();
C. Refresh the page for another frame: parent. Another FrameID.location.reload ();
JS to implement IFRAME refresh