What's the difference between "click" and "onclick" when creating an element with jQuery?
<p>What's the difference between</p>

<pre><code>$("&lt;a&gt;", {
    "id" : "myId",
    "text" : "my link",
    "href" : "#",
    "onclick" : function() { return false; }
);
</code></pre>

<p>and</p>

<pre><code>$("&lt;a&gt;", {
    "id" : "myId",
    "text" : "my link",
    "href" : "#",
    "click" : function() { return false; }
);
</code></pre>

<p>?</p>
