On Nov 4, 5:30 pm, vhochstein <vhochst...@googlemail.com> wrote:
> if I call old_element = Element.replace(element, 'html code for new
> I get the old_element in response.
> How may I get the new_element node if it does nt have an id attribute?
> Thanks a lot in advance.
Well, you could find it through the hierarchy or some such, but
probably the easiest thing is to get a reference to it *before* you
var new_element = new Element('tagName').update('contents');
Live example: http://jsbin.com/uwibuh
Independent Software Engineer
tj / crowder software / com
www / crowder software / com
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at