ShowMessage
ShowMessage( mixed message );
The function is used to display error descriptions and other messages.
Function parameters
Parameter | Description |
---|---|
message | Error message text or an array with the following keys:
|
Examples of use
<? // display common message ShowMessage(Array("TYPE"=>"OK", "MESSAGE"=>"Data saved.")); ?>
<? // display error message ShowMessage("Error! Please fill in the required fields!"); ?>
© «Bitrix24», 2001-2024