I might assign each a sequentially IDed DIV like <div id="itm1"> and <div id="itm2"> and so forth. Can I use wildcards both for CSS styling of an unknown number of DIVs and for reading reviewing an unknown number of them using getElementById?
I don't think getElementByTag will work because there are other DIVs I do not want, and GetElementByName won't work because Name is not a valid attribute for a DIV. Or should I assign each of the IDs a class, and use getElementsByClassName? What's the most logical appraoch?