Passing $this in JavaScript
<p>How would I rewrite this to use a common function, pretending that the common function would eventually have more than the 1 line of code in it:</p>

<pre><code>$('.insert').hover(function() {
    $(this).css('cursor','pointer');
});
$('.delete').hover(function() {
    $(this).css('cursor','pointer');
});
</code></pre>
