...
Is it possible with jQuery (or plain javascript) to remove ju
Yes! You can!
If you set the css property to a blank value, it clears it.
So, if your inline style is "background: pink" you can remove it via:
$element.css('background','')
I'm pretty sure I learned that somewhere here on SE but, alas, don't have the specific source to site, so apologies for not being able to give credit where credit is due.
UPDATE:
Well, I suppose I should have gone to the source. From the jQuery documentation (emphasis mine):
Setting the value of a style property to an empty string — e.g. $('#mydiv').css('color', '') — removes that property from an element if it has already been directly applied, whether in the HTML style attribute, through jQuery's .css() method, or through direct DOM manipulation of the style property. It does not, however, remove a style that has been applied with a CSS rule in a stylesheet or element.
http://api.jquery.com/css/