Home > Web Front-end > JS Tutorial > body text

JS 退出系统并跳转到登录界面的实现代码_javascript技巧

WBOY
Release: 2016-05-16 17:30:59
Original
1509 people have browsed it

Index.aspx页面

JS 退出系统并跳转到登录界面的实现代码_javascript技巧

Login.aspx

JS 退出系统并跳转到登录界面的实现代码_javascript技巧

在Index.aspx页面写入JS代码:

复制代码 代码如下:



放一个退出系统按钮  当点击了退出系统按钮后,Index.aspx界面关闭,跳转到Login.aspx界面
复制代码 代码如下:
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!