title: Manually triggering change event doesn't work
body: <p>There is a text element with change event attached through <code>$('input.filename').bind('change', function(){...})</code>, and there is a popup which triggers this event by <code>$('input.filename').trigger('onchange')|.change()</code>.</p>
  
  <p>Exception: if change event attached through "onchange" attribute triggering works!</p>
  
  <p>Attaching code looks:</p>
  
  <pre><code>input.change(function () {
          var dims = {
              'width': settings.previewWidth,
              'height': settings.previewHeight
          };
          updateImagePreview(input, preview, dims);
      });
  </code></pre>
  
  <p>Triggering code looks like this:</p>
  
  <pre><code>var input = $("input[name='any_name']", window.opener.document);
      input
          .val("&lt;?=$choice ?&gt;")
          .trigger("onchange");
      window.close();
  </code></pre>