THTMLDoc.LoadScript Method
Description
Retrieves a script from a URL. When a local filename is provided, it creates a session URL before loading the script from that file.
Syntax
procedure LoadScript(const Url: WideString; const Filename: WideString = ''); safecall; overload;
Parameters
| Parameter | Type | Description |
|---|---|---|
Url |
WideString | Relative URL for the script resource |
Filename |
WideString | Local filename (optional) |