alert(msg);
This static function simply shows a dialog with the given message.
See also: confirm(), prompt(), fileSel(), logError(), logWarning()