BBjWebManager::injectScript
Description
In BBj 22.03 and higher, this method injects the specified JavaScript into the web page.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
Return Value | Method |
---|---|
void |
injectScript(String script) |
void | injectScript(String script, boolean top) |
void | injectScript(String script, boolean top, String attributes) |
void |
injectScript(String script, boolean top, HashMap attributes) |
Parameters
Parameter | Description |
---|---|
script |
JavaScript 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.