Flamingo.Selector

The Flamingo.Selector object provides several useful methods that will help you get CSS data from the original website pages.

Flamingo.Selector Methods

Method Description
value() Returns specified value(s) of the specified node found by the selector.
test() Returns TRUE if the specified node is found by the selector and FALSE otherwise.
get() Returns array of nodes found by the selector.
html() Returns HTML code of the node found by the selector as string.
innerHTML() Returns inner HTML code of the node found by the selector as string.

You can use S aliases instead of Flamingo.Selector for shorthand coding. For example, the following three lines of code will do the same:

Flamingo.Selector.value('title')

-OR-

S.get('title')

All these three statements will take the value of the TITLE element available on the original desktop page.

See also