Displaying 1 result from an estimated 1 matches for "photo_fields_n_".
2007 Apr 23
3
getElementsBySelector problem in IE
...rx = /n_\d/;
var newFormNumber = rx.test(formNumber) ?
Number(formNumber.replace(''n_'','''')) + 1 : 0 ; // if the id looks like
"n_?" then give it the next number, otherwise number it 0
new Insertion.After(mostRecentForm, ''<fieldset id="photo_fields_n_'' +
newFormNumber + ''" class="photo_fields" style="display:none"></
fieldset>''); // add the new fieldset
var newForm = $(''photo_fields_n_'' + newFormNumber); // find it and
make it into an Element
newForm.update(mostRece...