December 2013
Intermediate to advanced
384 pages
9h 54m
English
var result = confirm("You Entered " + response + "is that OK?"); if(result){ alert("You Said Yes.") } else {alert("You Said no.")}
Window objects provides several different methods that allow you to launch popup windows that you can interact with for alerts, prompts, and notifications. The popup windows are displayed, and the user needs to interact with the popup before continuing to access the web page.
There are three kinds of popup boxes that can be created:
alert(msg)—Launches a popup window that displays an alert message and provides a button to close the popup.
confirm(msg)—Launches ...
Read now
Unlock full access