Содержание

getElements

Gets an array of elements in the active tab, satisfying the specified conditions

Syntax

getElements = function(aTagName, aAttributes, aValues, aStrong,
  aAntiAttributes, aAntiValues, aAntiStrong);

Parameters

Returned value

Notes

Examples

  1. //Loading page http://www.thetimes.co.uk/
    loadURI('http://www.thetimes.co.uk/');
    //Get all elements with tag "a" (all links)
    var elements = getElements('a');