Check documentation for the latest version of dhtmlxSuite FAQ DHTMLX Docs


How to position alert/confirm message box?

Alert and confirm message boxes have the position "center" by default. One more option is to place these helpers at the top of the page. For this purpose, use the following property:

dhtmlx.message.position = "top";

The only possible value of the "position" property for alert and confirm is "top".

How to position message?

As for message, its default position is set by means of the property position and the default value is "top". Another possible value is "bottom".

If you want to get messages left aligned, add the following style on the page:


Can dhtmlxMessage work in the compatibility mode?

No, it works only in the standard mode. Besides, dhtmlxMessage supports IE from version 7+.

Back to top