FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
How to conditionally cancel closing of website (when user din't save)
How to conditionally cancel closing of website (when user din't save)
Débuté par Stefan Buteneers, 11 oct. 2013 10:41 - 1 réponse
Connectez-vous…
Stefan Buteneers
#1
Posté le 11 octobre 2013 - 10:41
Hi all,
The title says it all: I want to generate a warning when a user tries to close a website using the X of the browser tab or the X of the browser application when he/she still has unsaved changes within the website environment.
I want to ask the user wether to quit saving changes or quit alltogether without saving changes.
I would prefer to show him/her a customised page that pops up when the website detects unsaved changes. The popup should ba able tot stop the initiated
Signaler
0
0
Fabrice Harari
#2
Posté le 11 octobre 2013 - 16:35
Hi Stefan
you should be able to do it in javascript code... a simple google search
on "js catch browser close" gives some very promising information
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
More information on
http://www.fabriceharari.com
On 10/11/2013 2:41 AM, Stefan Buteneers wrote:
Hi all,
The title says it all: I want to generate a warning when a user tries to
close a website using the X of the browser tab or the X of the browser
application when he/she still has unsaved changes within the website
environment.
I want to ask the user wether to quit saving changes or quit alltogether
without saving changes.
I would prefer to show him/her a customised page that pops up when the
website detects unsaved changes. The popup should ba able tot stop the
initiated
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte