This script allows you to get an array of elements by any of their attributes.