queyryselectoral par id regex
document.querySelectorAll('[id^="edit-tid"]');
Inquisitive Impala
document.querySelectorAll('[id^="edit-tid"]');