Visit Mozilla.org

XPInstall API Reference:Install Object:Methods:alert

From MDC

Contents

[edit] alert

The alert function displays a modal dialog box with a message representing the input.

[edit] Method of

Install object

[edit] Syntax

<code>void alert ( String message );
</code>

[edit] Parameters

Though it's most common to input a string for display in an alert dialog, the single input parameter for alert() can be a value of any data type. You can, for example, input an object reference and see that object displayed as a string in the alert dialog.

[edit] Returns

Nothing.