SyntaxFix
Write A Post
Hire A Developer
Questions
I was using the $('div').attr('style', ''); technique and it wasn't working in IE8.
$('div').attr('style', '');
I outputted the style attribute using alert() and it was not stripping out inline styles.
alert()
.removeAttr ended up doing the trick in IE8.
.removeAttr