confirm() (Method)

A dialog box to get confirmation from the user.

Availability:

JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 3.0
Property/method value type:Boolean primitive
JavaScript syntax:-myResult = confirm(aString)
-myResult = myWindow.confirm(aString)
Argument list:aStringSome text to explain what is to be confirmed.

See also:Window.alert()

Refer to:

Window.confirm()