Documentation

ShowJSHint

result_type
ShowJSHint(
 string text,
 array Params = false
);

The function enables a pop-up hint. Displays an question mark icon, on hovering which the text '$text' pops-up.

Note. By default, the method works only in the administrative section. The method can also work in the public section when including the file \bitrix\modules\main\interface\admin_lib.php.

Function parameters

Parameter Description
text Displayed text
Params Display parameters. If array('return' => true) is passed as the second parameter, then instead displaying on the screen, a html code for the pop-up hint is returned.


© «Bitrix24», 2001-2024
Up