Open andymadge opened 9 years ago
Even though the DIV never gets attached to the DOM, some browsers will still load images and fire events. See this comment on Stackoverflow
Using a textarea instead of e a DIV is safer, see here.
See http://jsfiddle.net/vcm8r35a/ to demo the problem
Even though the DIV never gets attached to the DOM, some browsers will still load images and fire events. See this comment on Stackoverflow
Using a textarea instead of e a DIV is safer, see here.