|
|
|
|
|
by tracker1
2945 days ago
|
|
assuming "this" is an element... `this.querySelector` if you're intending to match multiples... Array.from(document.querySelectorAll(...)).forEach(x => {...})
It's not *that hard... though forEach should be on your dom collection returned, if Array.from exists, but I started shimming Array.from long before either were standard. |
|