Skip to content Skip to sidebar Skip to footer

Prototype Element.remove() Not Working In IE

I have a javascript function that gets a DIV by an ID and makes a clone. Then, removes the original DIV from DOM and inserts the cloned object..Everything works fine, except in IE,

Solution 1:

Solved..nothing to do with the javascript actually.. The div i was cloning had a span inside, but the span was not correctly closed, which makes IE goes mad..
Lesson learned: if you know everything is correct and IE is freaking out, go search for invalid HTML


Post a Comment for "Prototype Element.remove() Not Working In IE"