当用户离开页面而不保存信息时如何显示警报 [英] How to diplay alert when user leaving the page without saving the information

查看:64
本文介绍了当用户离开页面而不保存信息时如何显示警报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

谁能给我解决的办法
用户离开页面时如何在不将信息保存为表单的情况下显示警报

在此先感谢

Hi all

can any body give me solution for this
How to diplay alert when user leaving the page without saving the information in the form

thanks in advance

推荐答案

不要轻描淡写,但这是一个经常被问到的问题,一种形式或另一种形式,并且有大量的信息和如果您只是在寻找技术,就可以使用.
Not to be dismissive but this is an often asked question, in one form or another, and there is a wealth of information and techniques available if you just look for it.


请参阅此
http://www.4guysfromrolla.com/articles/101304-1.aspx [ ^ ]
Refer this
http://www.4guysfromrolla.com/articles/101304-1.aspx[^]


这篇关于当用户离开页面而不保存信息时如何显示警报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆