title: jQuery - enable/disable select box within a toggle();
body: <p>I have an instance where I want to change the text and the status of a select box based on a click.</p>
  
  <pre><code>$("#foo").click(function(){
  
   $("#mytext").toggle();
   $(this).text($(this.text() == 'on' ? 'off' : 'on');
   // here i also want to enable and disable a select box, not sure how to do this other   then checking if the value of (this).text is on or off.
  
  });
  </code></pre>
  
  <p>Thanks much!</p>