Syntax
| browser.ID.HTML.set.element.content(tagName, attributeName1, attributeValue1, attributeName2, attributeValue2, value, textOnly, isInner) |
Parameters
| STRING | tagName | Name of the tag
| | STRING | attributeName1 | Filter 1: name of an attribute
| | STRING | attributeValue1 | Filter 1: value of the specified attribute
| | STRING | attributeName2 | Filter 2: name of an attribute
| | STRING | attributeValue2 | Filter 2: value of the specified attribute
| | STRING | value | New content for the specified tag
| | BOOL | textOnly | Optional. Default value is false. Set to true if you want to ignore HTML code.
| | BOOL | isInner | Optional. Set to true (default) if you don't want to include the tag itself in the result. |
Return value
No value is returned.
Description
| The function search in the HTML document to find a tag with the specified name and attributes, and set the content of the first occurrence. |
MioScript Sample Code
browser.&br.HTML.set.element.content("DIV", "id", "MyDiv", null, null, "Hello, World") |
|