title: jQuery CSS Style a parent div when child is focused
body: <p>I have a script like this: (but it's not working)</p>
  
  <pre><code>$('div#selectbox select:focus').parent().css('box-shadow','0 0 4px 1px #5099E2');
  </code></pre>
  
  <p>When the user focuses on a <code>select</code> that's parent is <code>div#selectbox</code> I want to change the <code>box-shadow</code> of the <code>div</code> any suggestions?</p>
  
  <p>Here is a jsFiddle of what I'm doing... <a href="http://jsfiddle.net/2BydK/" rel="nofollow">http://jsfiddle.net/2BydK/</a></p>