Displaying 1 result from an estimated 1 matches for "currentphotos".
Did you mean:
current_photo
2007 Apr 23
3
getElementsBySelector problem in IE
...ion(s) {
s.id = s.id.replace(''photo_'' + formNumber, ''photo_n_'' +
newFormNumber);
s.name = s.name.replace(''photo['' + formNumber, ''photo[n_'' +
newFormNumber);
s.clear();}); //update the ids and names of the fields
currentPhotos = document.getElementsByClassName("current_photo",
newForm); // clear the contents
new Effect.SlideDown(newForm); // show the new fieldset
On Firefox, Safari and Opera, this all works fine (though the
SlideDown is a bit jerky on FF). But on II (6 & 7) it fails on
newForm.getElements...