Hello, I was looking for a quick way to replace one element with another and thought surely Element.replace(). But when I looked up the API it's second argument is a string (which is very very cool, don't get me wrong).
What about for element.parentNode.replaceChild(newElement, element); $(element).replace(newElement); is what i expected. Is their another way? Is replaceChild not universally supported? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---