title: Use jQuery to show/hide input based on another input's value
body: <p>I want to hide a specific input on a page unless a user types a Hotmail address into a different input. Whenever the user types in a hotmail address, I want to show the input. If the address is removed, I'd like it to disappear. How can this be accomplished with jQuery?</p>
  
  <p>I know I'm going about this incorrectly, but here's what I have so far:</p>
  
  <pre><code>$(function() {
  
   if($("select#combobox").val() *= '@hotmail') {
  
     $('#hotm').show();
  
   }
  
   else {
  
     $('#hotm').hide();
  
   }
  
   });
  </code></pre>