Home  >  Article  >  Web Front-end  >  Several redirection connection sample codes commonly used in html_HTML/Xhtml_web page production

Several redirection connection sample codes commonly used in html_HTML/Xhtml_web page production

WBOY
WBOYOriginal
2016-05-16 16:38:411596browse

Copy code
The code is as follows:

window.location.href="zcbfH.jsp"; //Redirect in this frame
onclick="top.mainFrame.location='<%=path %>/login.jsp'"; //Redirect from a certain frame to the mainFrame frame
onclick="top.window.location='<%=path %>/login.jsp'"//Redirect from a certain frame to the entire page
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn