One inconsistency that has caught me before between Internet Explorer's .innerHTML and other browsers .innerHTML is how markup is formatted:
So if I have a div with a paragraph with the class of "foo" and the text "moof" inside the P, and I call .innerHTML on the div, I will get: Internet Explorer: <P class=foo>moof</P> Firefox 3.5 (for example): <p class="foo">moof</p> Note the capitalization and lack of quoted attributes in the internet explorer innerHTML -- good to keep in mind! IE will add quotes to attributes if the attribute contains spaces, though. Best, Alex On Aug 25, 9:39 am, molo <[email protected]> wrote: > Thanks all > > I feel better now, I thought I may have missed something that everyone > else knew about. > > I guess I'll stick with innerHTML > > Maurice --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
