jQuery: pass $(this) to a function
<p>How can I pass the $(this) object to a function that looks like this</p>

<pre><code>$('#selected').click(dosomething)
</code></pre>

<p>Where dosomething is the function. I tried doing things like...</p>

<pre><code>$('#selected').click(dosomething($(this)))
</code></pre>

<p>But it seems like I'm doing it the wrong way...</p>
