Done. ... quite a while ago, actually. On Aug 21, 2007, at 3:46 PM, Thymus wrote:
> A method to get a string from an element and reverse. > I explain : > <input type="text" id="input" /> > > alert($('input').toHTMLString()); > should display the string : '<input type="text" id="input" />' alert($('input').inspect()); See http://prototypejs.org/api/element/inspect > var str = '<input type="text" id="input" />'; > var elem = str.toHTMLElement(); > > $('mydiv').appendChild(elem); new Insertion.Bottom('mydiv', str); See http://prototypejs.org/api/insertion/bottom TAG --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---