»
AnglaisFran�aisVietnamien

Imprimer - Fonction d'alerte - JavaScriptBank.com

Version compl�te: jsB@nk » » Fonction d'alerte
URL: https://www.javascriptbank.com/alert-function.html

Fonction d'alerte © JavaScriptBank.comCet JavaScript montre comment créer une fonction avec un message d'alerte et de confirmation des fenêtres. Un important script.

Version compl�te: jsB@nk » » Fonction d'alerte
URL: https://www.javascriptbank.com/alert-function.html



JavaScript
<script type="text/javascript"><!-- Begin/*Created by: Steeveeo :: http://www.freewebs.com/steeveeo3000/ */function confirmFunction() {  alert("This message will confirm whether or not to perform a function");  if (confirm("Are you sure you want to activate the function?"))    {      functionAlert();    }  else  alert("Function cancelled.");    {    }}// End --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<script type="text/javascript"><!-- Beginfunction functionAlert() {  alert("Your function here");    {  }}// End --></script><form><input type="button" value="Confirm The Function" onClick="confirmFunction()"></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->