implemented get element attr widget