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

window.confirm()

JavaScript1.0+, JScript1.0 Nav2+, IE3+, Opera3+ Syntax

							window.confirm(string)

Description

The confirm() method of the Window object displays a confirmation dialog box when invoked. The value of the string passed to the method is displayed in the box. This box will contain both an OK and Cancel button. The method returns a Boolean value of true if the user clicks OK and false if the user clicks Cancel.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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