get_number
get_number($object_name=""); - get the object number in the DOM model
$object_name – the name of the object (element type) in the sequence of which we get the number (anchor,image,textarea, etc.). C 4.9.16 is available After the function returns the result of their work in the script :
item number is the number of the found element (numbering of elements starts at zero), the return type of string-1 to find this element failed (e.g. no items that meet the specified criteria or not this frame), the return type int