title: jQuery: keyup event for mobile device
body: <p>I'm having a few issues getting a keyup event to fire on my iPhone, my code is as follows:</p>
  
  <pre><code>        var passwordArray = ["word", "test", "hello", "another", "here"];
  
          var test = document.getElementById('enter-password');
          test.addEventListener('keyup', function(e) {
  
              if (jQuery.inArray(this.value, passwordArray) != -1) {
                  alert("THIS IS WORKING");
              } else {}
  
          });
  </code></pre>
  
  <p>The idea being that as the user is typing into the <code>#enter-password</code> field, as and when they've matched a word in the <code>passwordArray</code> the alert will fire. This works on desktop, e.g. once you've entered <code>word</code> the function will fire straight away as soon as you've typed the <code>d</code>. Is there anyway to get this to work for mobile too?</p>