Put your logo here!

TOC PREV NEXT



confirm

Displays a modal confirmation dialog.

Method of

Install

Syntax

 Boolean confirm( Stringstring ); 

Parameters

The input parameter is the string to be displayed in the confirmation dialog. This string is typically in the form of a prompt for the user (e.g., "Are you sure you want to delete the selected file(s)?").

Returns

The return value is a boolean indicating whether the user has selected "OK" (value=1) or the "Cancel" (value=0).


Netscape Communications
devedge.netscape.com
TOC PREV NEXT