title: Validation as you type jquery
body: <p>I have this jQuery code for validate the email input as the user types:</p>
  
  <pre><code>$('#email').keyup(function() {
      if (!isValidEmailAddress(email)) {
          $('#validate').removeClass();
      } else {
          $('#validate').removeClass();
          $('#validate').addClass('validate');
      }
  });​
  </code></pre>
  
  <p>But what if the user as it types for example "Da" the browser recognizes the email and shows an option to complete it in the dropdown like "daniel@gmail.com",, so what event can I use in my jQuery Code to even validate it when the user clicks on that dropdown option or clicks enter to select it...</p>
  
  <p>Thanks in advance</p>