[Proto-Scripty] Element.replace get top node of replaced content

2011-11-04 Thread vhochstein
Hi, if I call old_element = Element.replace(element, 'html code for new element') 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. -- Volker -- You received this message because you are subscribed to the Google

[Proto-Scripty] Re: Element.replace get top node of replaced content

2011-11-05 Thread vhochstein
, vhochstein vhochst...@googlemail.com wrote: Hi, if I call old_element = Element.replace(element, 'html code for new element') 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. -- Volker Well, you

[Proto-Scripty] Re: Element.replace get top node of replaced content

2011-11-30 Thread vhochstein
'); works as aspected. Does anybody if there exists a tag which can be updated with any html code? Thanks a lot in advance. -- Volker On 5 Nov., 10:58, vhochstein vhochst...@googlemail.com wrote: Hi Thanks a lot for your help. I slightly changed it: var new_element = new Element('div