title: How to addClass('ui-state-error') to a <select> styled with selectmenu, dropkick and/or chosen plugin?
body: <p>There are a few plugins ( selectmenu, dropkick, chosen, and probably many more ) that turn  tag combo-box into a prettier, styled, more functional version.</p>
  
  <p>I'd like to style the extended  tag with ui-state-error style. This sporadically works sometimes, but most of the time it doesn't:</p>
  
  <pre><code>$('select').selectmenu().addClass('ui-state-error');
  </code></pre>
  
  <p>And even when it works, removeClass('ui-state-error') doesn't work.</p>
  
  <p>So, what is the correct way to addClass('ui-state-error') to one of these extended combo-boxes?</p>