jeudi 13 octobre 2011

Jang Javascript Cours Javascript L005 : window.confirm()

Jang Javascript Cours Javascript Learn Javascript L005 : window.confirm()

Keywords
window.confirm() : Affiche un message dans une boîte de dialogue (dialog box) pour avoir une confirmation .


<html>

<head >
<title > Cours Javascript L005 : window.confirm() </title >

</head>

<body>


<script language="Javascript">

<!--

var tontu = window.confirm("? "); // Affiche un message dans une boîte de dialogue (dialog box) pour avoir une confirmation. Tontu bi (wolof) i.e la réponse (français).

document.write (tontu); //Affiche true ou false

// -->

</script>

</body>

</html>