$(this).css({
-webkit-transform:'rotate(180deg)',
-moz-transform: 'rotate(180deg)',
-o-transform: 'rotate(180deg)',
-ms-transform: 'rotate(180deg)'
});
This is throwing the error:
Uncaught SyntaxError: Unexpected token -
I'm really hoping I don't have to install the jQuery Rotation plugin just for this one instance.
question from:https://stackoverflow.com/questions/7935815/how-do-you-tweak-webkit-prefixed-css-properties-in-jquery