On Sun, Feb 6, 2011 at 7:54 PM, Jorge <[email protected]> wrote: > On Feb 6, 4:25 pm, Diego Perini <[email protected]> wrote: >> >> By creating elements using DOM methods you are doing it correctly. If >> you can completely avoid using ".innerHTML" property you also >> potentially avoid known problems with it. > > innerHTML known problems ? In Chrome/Safari ? No. Sorry but no, sorry. > Perhaps in IEs...
I didn't specify which browsers are affected by ".innerHTML" bugs since for the purpose it doesn't matter. However are you sure Webkit is free of bugs related to ".innerHTML" ? Really sure ? Try changing the "title" or the "head" elements using ".innerHTML" and you will see problems arise even in Webkit. -- Diego > -- > Jorge. > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
