title: Javascript: Performance of .className Changes vs. .style Changes
body: <p>Back in 2005, Quirksmode.com released this article:</p>
  
  <p><a href="http://www.quirksmode.org/dom/classchange.html" rel="nofollow noreferrer">http://www.quirksmode.org/dom/classchange.html</a></p>
  
  <p>that showed "proof" that changing the style of an element by changing its class (ie. "elem.className = x") was almost twice as fast as changing its style via its style property (ie. "elem.style.someStyle = x"), except in Opera.  As a result of that article, we started using a className-based solution to do things like showing/hiding elements on our site.</p>
  
  <p>The problem is, one of our developers would much rather use jQuery's equivalent methods for this kind of thing (ie. "$(something).hide()"), and I'm having a hard time convincing him that our className-based function is worth using, as I can only find a single article written four years ago.</p>
  
  <p>Does anyone know of any more recent or more comprehensive investigations in to this issue?</p>