Displaying 1 result from an estimated 1 matches for "label_10".
Did you mean:
label_1
2005 Nov 24
0
Safari document.getElementByClassName problem
...I am having a problem under safari with the above mentioned method.
In my example document I have something like the following:
<div id="label_2" class="lab15">Q1</div>
<div id="label_6" class="lab15">Q1</div>
<div id="label_10" class="lab15">Q1</div>
<div id="label_14" class="lab15">Q1</div>
I am trying to select a bunch of elements with the same class name as such:
this.labels=document.getElementsByClassName(this.element.className);
for (i=0;i<this.label...