---
title: "退出框架页"
author: "bolan392"
date: "2010-11-17T11:24:03Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2010-11-17T11:24:03Z"
id: 813717
url: "https://bolan392.iteye.com/blog/813717"
---

有两种方式可以退出框架页并转向指定页面：

1.   带提示的

 

```
<a href="#" LANGUAGE=javascript onclick="if (confirm('确认要离开本系统?')){;href='purviewAction.do?method=quitSystem';target='_top';}"></A>
```

 

2.   不带提示的

 

```
<a href="#" LANGUAGE=javascript onclick="{href='purviewAction.do?method=quitSystem';target='_top';}"></A>
```