Gets an array of values of the specified attribute of specified elements
getElementsAttribute = function(aElements, aAttribute)
//Loading page google.ru loadURI('google.ru'); //Get an elements array "div" var elements = getElements('div'); //Get an array of attribute "id" values of elements array. var ids = getElementsAttribute(elements,'id'); log(JSON.stringify(ids));