Mega Code Archive

 
Categories / JavaScript DHTML / Window Browser
 

What is the output of a confirm dialog

<html> <head> <title>A Simple Page</title> <script language="JavaScript"> var response = confirm("OK or Cancel."); alert(response) </script> </head> <body> </body> </html>