search for: selected_label

Displaying 1 result from an estimated 1 matches for "selected_label".

2005 Nov 24
0
Safari document.getElementByClassName problem
...d="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.labels.length;i++) { Element.addClassName(this.labels[i],"selected_label"); } I have verified that i tries to select with the correct class, but it never returns more than 1 element. Under firefox and family it works fine, selecting all 4. Has anyone seen this kind of behavior before? Is there a work around or fix I should know about? Thanks Pelle -- https://...