I have some trivial JavaScript to effect a style change:
sel = document.getElementById(\'my_id\'); sel.className = sel.className.replace(/item-[1-9]-selected
I've found this method to be useful when working with transitions
$element[0].style.display = 'table'; $element[0].offsetWidth; // force reflow $element.one($.support.transition.end, function () { $element[0].style.display = 'block'; });