Confirm dialog : confirm « Dialogs « JavaScript Tutorial






<html>
<head>
<title>A Simple Page</title>
<script language="javascript">
<!--
confirm("Which one will you choose?")
//  -->
</script>
</head>
<body>

</body>
</html>








13.2.confirm
13.2.1.Confirm dialog
13.2.2.Confirm dialog returns boolean value
13.2.3.Use Confirm dialog in if statement
13.2.4.Use confirm method in if statement