In IE9 String to JQuery object results in loss of attribute.
Good afternoon,
If I have a string, and I make a JQuery object from it:
- var $content = $("<div><table><tr><td style=\"border-style: none\">test</td></tr></table></div>");
How come that when I print this the style attribute is empty?
- <table><tbody><tr><td style="">test</td></tr></tbody></table>
I tested this behaviour in the (latest) browsers: Chrome, Firefox, Safari and it does work fine. So what do I have to do to get this working in Internet Explorer 9?