title: How to use custom event parameters for checkbox click event?
body: <p>From jQuery's doc, it seems I should be able to pass custom parameters to the checkbox click handler using <a href="http://api.jquery.com/trigger/" rel="nofollow noreferrer"><code>$.fn.trigger</code></a>. However, I can't seem to get this working.</p>
  <p>See <a href="http://jsfiddle.net/2t6y7/" rel="nofollow noreferrer">http://jsfiddle.net/2t6y7/</a></p>
  <p>HTML:</p>
  <pre><code>&lt;input type=&quot;checkbox&quot;/&gt;        &lt;span&gt;&lt;/span&gt;
  &lt;hr/&gt;
  &lt;input type=&quot;text&quot;/&gt;            &lt;span&gt;&lt;/span&gt;
  &lt;hr/&gt;
  &lt;button&gt;foo&lt;/button&gt;            &lt;span&gt;&lt;/span&gt;
  </code></pre>
  <p>JS:</p>
  <pre><code>$('input, button').click(function(e, arg1) {
      console.log(arguments);
      $(this).next().text('arg1: ' + arg1);
  });
  $('input, button').triggerHandler('click', ['passed in', 'unused arg']);
  </code></pre>
  <p>The text input and the button clearly works, but the checkbox doesn't work.</p>
  <p>Using jQuery 1.10.2. Tested with Firefox 28, Chrome 34.</p>
  <h3>EDIT:</h3>
  <p>Just tried changing <code>trigger</code> to <code>triggerHandler</code> and it seems to fix the checkbox while breaking the other two.</p>
  <p><a href="http://jsfiddle.net/2t6y7/1/" rel="nofollow noreferrer">http://jsfiddle.net/2t6y7/1/</a></p>
  <p>Am I doing something wrong? Why is the behavior so strange?</p>