title: Selecting DIV above, but not within
body: <p>Having trouble with selectors/transversing. Basically, I want the popup div to open when the user hits the select. I need to use this structure due to the larger program being used, so I'm only looking for the proper selector.</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="box"&gt;
   &lt;div class="popup"&gt;&lt;/div&gt;
   &lt;select&gt;&lt;/select&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>jQuery</p>
  
  <pre><code>$('div.box select').focus(function (){
   $(this).closest('div').next().css('display','block');
  });
  </code></pre>