# CloseHtmlDialogs Method The CloseHtmlDialogs method closes all HTML dialogs of a specified type. Syntax
    SiteCafe.UserInterface.CloseHtmlDialogs(dtype)
Parameters
dtype | String that specifies the type of dialog.
Return Value None. Remarks You can handle existing dialogues defined in the browser skin files or own dialogs. Examples The following example closes all existing "actionforbidden" HTML dialogs.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.UserInterface.CloseHtmlDialogs("actionforbidden");
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top