SiteKiosk Documentation
One Step Back

Abort Method




The Abort method aborts the request.


Syntax

    HTTPPost.Abort()
Return Value
    None.
Remarks
    None.
Examples
    The following example aborts the request directly after sending it.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mypost = SiteKiosk.Network.CreateHTTPPost();
    mypost.OnPostComplete = OnPostComplete;
    function OnPostComplete(success, response)
    {
       if (success<0) {alert("Error");} else document.write(response);
    }
    mypost.AddParameter("q", "sitekiosk");
    mypost.Submit("http://us.altavista.com/web/results");
    mypost.Abort();
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -