BBjWebManager::getAttribute
Description
In BBj 22.03 and higher, this method returns the value of a component attribute on the web page.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
Return Value | Method |
---|---|
void |
getAttribute(String attribute) |
void | getAttribute(String attribute, String selector) |
Parameters
Parameter | Description |
---|---|
attribute | Specifies an attribute to be retrieved from the web page. |
selector | By default, getAttribute applies to the document element on the web page. If a selector is specified, it selects a descendant element within the document to query this attribute. If a specified selector doesn't return any elements, the default document element is used. |
Return Value
Returns the value of this attribute.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.