Trying to pass in a callback function fails
<p>I am trying to create some functionality when a user clicks on an element on the webpage. The callback function executes as soon as the page is executed. It is only supposed to execute when the user clicks on an element.
Here is the code:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Javascript Test&lt;/title&gt;
    &lt;script src="http://code.jquery.com/jquery-latest.pack.js"&gt;&lt;/script&gt;
    &lt;script&gt;
      $("#clickMe").one('click', printThis("Hello All"));
      function printThis(msg) {
        console.log(msg);
      }
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id="clickMe"&gt;Click me!&lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Thanks!</p>
