Nothing. =) If you leave off the second parameter of Element.input, it acts much like Insertion.bottom, which was what I first suggested. Different way of getting to the same thing.
His other question was looking for an Element -> String conversion, much (I suspect) like outerHtml. TAG On Aug 21, 2007, at 7:54 PM, kangax wrote: > > Tom, Thymus: > > What's wrong with new Element#insert? > > document.body.insert('<div class="blah"><a href="foo.bar">hello > world</ > a></div>'); > > works for me as expected: > ... > <body> > <div class="blah"> > <a href="foo.bar">hello world</a> > </div> > ... > </body> > ... > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---