JS page Jump: This page jump, on a page jump, the outermost page to jump, below for everyone to share under the different pages of the home jump problem, interested friends can learn under the "Window.location.href", "location.href" is this page jump
"Parent.location.href" is a page jump on the previous level
"Top.location.href" is the outermost page jump
To illustrate:
If a,b,c,d are Jsp,d is C iframe,c is B's iframe,b is an IFRAME, if D JS so write
"Window.location.href", "location.href": D page Jump
"Parent.location.href": C page Jump
"Top.location.href": a page jump
If there is a form on the D page,
<form>: After form submission D page jump
<form target= "_blank";: New page pops up after form submission
<form target= "_parent";: C page jump after form submission
<form target= "_top" >: Form submitted after a page jump
About page refreshes, this is written in the D page:
"Parent.location.reload ();": C page Refresh (of course, you can also use the opener object of a child window to get the object of the parent window: Window.opener.document.location.reload (); )
"Top.location.reload ();": a page refresh
JS page jump Problem (jump to the parent page, the outermost page, this page)