View Full Version : Are you sure? dialog box on back button / page exit
aj22
Jan 28th 2008, 3:12 pm
Anyone have a link to a code snippet which provides one of those Are you sure you want to leave? dialog boxes on back button / page exit....
thanks
Dolbz
Jan 28th 2008, 3:21 pm
I still can't post links but search for onbeforeunload on Google. The first page should be a demo from 4guysfromrolla. That'll give you everything you need
aj22
Jan 28th 2008, 3:37 pm
I still can't post links but search for onbeforeunload on Google. The first page should be a demo from 4guysfromrolla. That'll give you everything you need
thanks for the info
i should have been more clear...
i need it so that when they want to leave i can redirect them to another page, and i need the popup only to happen when the back button is hit
MMJ
Jan 31st 2008, 9:43 am
thanks for the info
i should have been more clear...
i need it so that when they want to leave i can redirect them to another page, and i need the popup only to happen when the back button is hit
Why would you do that to your users?
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.