title: Disable other text boxes on input using jQuery
body: <p>I've got a form with several search (text) fields.  When text is entered into one of the fields, I'd like to disable the others.  Conversely, if all text is removed from the active text field, the other fields should be re-enabled.</p>
  
  <p>The basic idea would be something like this (I think):</p>
  
  <pre><code>$(document).ready(function() {
      $("input[@type=text]").keypress(function(e) {
          if(current textbox has text in it)
          {
              //disable all textboxes that aren't this one
          }
          else
          {
              //enable all textboxes
          }
      });
  });
  </code></pre>
  
  <p>I'm not clear on what the easiest way to find/work with "all text boxes that aren't this one" is.</p>