# OnStopped Event Fires when the server has been stopped. Syntax
    SiteCafe.Server.OnStopped = handler
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example displays an alert window when the server has been stopped.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.Server.OnStopped = OnStopped;
    function OnStopped()
    {
       alert("Server has been stopped");
    }
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top