![]() |
Uptooda Scripting API
|
#include <HtmlElement.h>
Public Member Functions | |
| HtmlElement (HtmlElementPrivate *pr) | |
| void | click () |
| string | getAttribute (string name) |
| array | getChildren () |
| array | getFormElements () |
| string | getId () |
| string | getInnerHTML () |
| string | getInnerText () |
| string | getOuterHTML () |
| string | getOuterText () |
| HtmlElement | getParentElement () |
| string | getTagName () |
| string | getValue () |
| void | insertHTML (string name, bool atEnd=false) |
| void | insertText (string name, bool atEnd=false) |
| bool | isNull () |
| HtmlElement | querySelector (string query) |
| array | querySelectorAll (string query) |
| void | removeAttribute (string name) |
| void | scrollIntoView () |
| void | setAttribute (string name, string value) |
| void | setId (string id) |
| void | setInnerHTML (string html) |
| void | setInnerText (string text) |
| void | setOuterHTML (string html) |
| void | setOuterText (string text) |
| void | setValue (string value) |
| bool | submitForm () |
| array getChildren | ( | ) |
Return an array containg child HtmlElements.
| string getValue | ( | ) |
Get value of an input element.
| void setValue | ( | string | value | ) |
Set value of an input element. Note: support of <input type="file" > in this function is considered experimental. It works asynchronously. Do not call this function again until FileInputFilledCallback is called.