https://esgsw.it/html/answered-javascript-how-to-get-element-attributes-onautocomplete-with-materialize/