• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Using window and frame Method... > Alerts, Confirmations, and Prompts

Alerts, Confirmations, and Prompts

Browsers have a few predefined window methods that enable you to display dialog boxes: alert, confirm, and prompt. The alert method just displays an alert dialog box with a message:

window.alert([msg]) 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint