Skip to content Skip to sidebar Skip to footer

How To Overcome Ie Bug When Dynamically Attaching Div To Body From Script

UPDATE: the HTML was not well formed. This was causing the script to appear in inner div. Please ignore the question. IE ver<8 has a known bug (Internet explorer cannot display

Solution 1:

It might be a slightly insane approach but could you pull out the innerHTML of the entire <body> append your string to it and then set the <body> innerHTML to the new value?

May affect some previously attached JS events unless it's inline onclick stuff.

Solution 2:

Post a Comment for "How To Overcome Ie Bug When Dynamically Attaching Div To Body From Script"