title: Why is this jQuery trigger not working?
body: <p>I'm trying to fire an event that should then be caught by a binding: </p>
  
  <pre><code>var input = $("#input");
  input.bind("keypress", function (e) {
      //textarea.attr('name', textarea.textrange('get').position);
      if (String.fromCharCode(e.keyCode) == '@') {
          alert('@');
      }
  });
  var e = jQuery.Event("keydown");
  e.which = 64; // # Some key code value
  
  $("#press").click(function () {
      $("#input").val($("#input").val() + '@')
      $("#input").trigger(e);
  })
  </code></pre>
  
  <p>When I click the button, I see the character inserted, and the trigger is fired, but the binding never catches it.  What am I doing wrong? </p>
  
  <p>JSFiddle: <a href="http://jsfiddle.net/tt36q/1/" rel="nofollow">http://jsfiddle.net/tt36q/1/</a></p>