What is more efficient: listeners or functions in jquery
<p>I have been using Jquery alot lately an was wondering if I should use listeners or functions for my clicks.</p>

<p>Normally I do the following:</p>

<pre><code>&lt;head&gt;   
  &lt;script type="text/javascipt"&gt;
    function buttonclicked() {
    alert("You Clicked it");
  }
  &lt;/script&gt;
&lt;/head&gt;


&lt;button onclick="buttonclicked()"&gt;Click Me&lt;/button&gt;
</code></pre>
