Using jquery's on in place of live - how can I get the filtered elements
<p>Using jQurey, I am replacing my old .live() event bindings with .on(), like this:</p>

<pre><code>$(document).on(event, selector, function () {
    console.log($(this)); //$(this) refers to the $(document) element, not the selector

});
</code></pre>

<p>What I want to do is get access to the element that this event is being applied to. Any ideas?</p>

<p>This works:</p>

<pre><code>$(selector).on(event, function () {
    console.log($(this)); //$(this) refers to the selector
});
</code></pre>

<p>But it doesn't work the same way as live - new elements added to the document that match the selector won't be bound...</p>

<p>Thanks!</p>
