Any way to turn this into a jQuery function?
<p>I have tried to wrap this in a function and cannot get it to work. I am wondering if it is because it is appending something to the body? But here is the script. Any help is greatly appreciated.</p>

<pre><code>$('.showIt').click(function(){
$('body').append("&lt;div class='show'&gt;&lt;/div&gt;");
});
</code></pre>

<p>I would like to put that into a function i can call, but i cant seem to get it to work, This is what i have tried and it fails to work for me.</p>

<pre><code>function create(){
$('body').append("&lt;div class='show'&gt;&lt;/div&gt;");
});
$('.showIt').click(function(){
create():
});
</code></pre>

<p>can someone please help?</p>
