I\'ve been looking for an answer to this question but I could find none so I thought I\'d try StackOverflow.
In javascript, is this valid:
x = document
Consider not using id when there are more than one
Maybe a class or custom attribute is better, you can then use document.querySelectorAll to fins them.
document.querySelectorAll
els = document.querySelectorAll('[custom-attr]')