In ie8 if elements don\'t \'repaint\' with the associated css when you change the classname, how can you force the browser to refresh and not kill ie8 performance?
This
Ridiculously, this works:
function ie8Repaint(element) { element.html(element.html().replace('>', '>')); }
Nothing actually changes in the DOM so it won't affect any other browsers.