BBjWebManager::injectScriptUrl
Description
In BBj 22.03 and higher, this method injects the specified external JavaScript URL into the web page. External JavaScript is injected asynchronously; success or failure is reported with BBjScriptLoadedEvent or BBjScriptFailedEvent.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
Return Value | Method |
---|---|
void |
injectScriptUrl(String url) |
void | injectScriptUrl(String url, boolean top) |
void | injectScriptUrl(String url, boolean top, String attributes) |
void |
injectScriptUrl(String url, boolean top, HashMap attributes) |
Parameters
Variable |
Description |
---|---|
url | A JavaScript URL to be injected into this web page as a script element. |
top | A boolean value specifying whether this script is to be injected into the top level window of the page. |
attributes | A set of attributes to be added to the script element. Attributes can be specified either as a string in the format "attr=value,attr=value" or as a HashMap containing key/value pairs. |
Return Value
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.