====== GetElementsAttribute ====== Gets an array of values ​​of the specified attribute of specified elements ===== Syntax ===== function GetElementsAttribute(aElements: TCSElements; aAttribute: string): array of string; ==== Parameters ==== * **//aElements//** * //type:// [[en:wascript:pascal:records:tcselements|TCSElements]] * //functions:// elements array * **//aAttribute//** * //type:// string * //functions:// attribute, values of which are to be obtained ==== Returned value ==== * //type:// array of string * //functions:// array of attribute values ===== Examples ===== -//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');