# RemoveByIdx Method The RemoveByIdx method terminates a download using its ID. Syntax
    SiteKiosk.Network.Downloads.RemoveByIdx(ID)
Parameters
ID | Long value containing the download ID.
Return Value None. Remarks None. Examples The following example terminates the first download using its ID.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    firstID = SiteKiosk.Network.Downloads.Item(1).ID;
    SiteKiosk.Network.Downloads.RemoveByIdx(firstID);
    </SCRIPT>
Applies to SiteKiosk v5.5 (and later versions). Back to top