I was under the impression that it would not actually be added to the DOM when using innerhtml. And it therefore cannot be manipulated as a DOM element.
Message sent from my Motorola Droid. On Dec 7, 2009 7:26 AM, "david" <[email protected]> wrote: Hi All, This is not the original question, but to insert elements in the DOM, you should do: $('myContent').innerHTML='<div ...... </div>' It's faster in execution than creating an element with a new.Element a set each needed property. -- david On 7 déc, 12:00, "Alex McAuley" <[email protected]> wrote: > There is a known bug in IE8 regarding new Element and adding the class toit > in the scope... > > ... > Alex Mcauleyhttp://www.thevacancymarket.com > > ----- Original Message ----- > From: "ColinFine" <[email protected]> > To: "Prototype & script... > For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups "Prototype & script.a... -- 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 protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
