p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript (http://p2p.wrox.com/forumdisplay.php?f=85)
-   -   how does Gamil compose alert happens (http://p2p.wrox.com/showthread.php?t=64524)

webmahesh December 12th, 2007 04:51 AM

how does Gamil compose alert happens
 
How to trace whether page data has been modified by the user.
in Gmail compose, we get alert message if we click on any of link [except links those get loaded in another window.]
Saying "your message has not been sent. Discard your message?"
this gets prompts Even if we hits in the Back button,

i believe, they don't maintain a simple javascript and keep calling same function in every link.
how does it actually happens?

expect demo [code]
Thanks



All times are GMT -4. The time now is 08:34 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.