jQuery - Migrating from live() to on()
<p>I understand that the "live" function is now deprecated. How can I migrate the following to make use of the new "on"?</p>

<pre><code>$('a.action').live( "click", function (evt) {

        // Do stuff 

}
</code></pre>

<p>The scenario is that the a.action is being created on the fly. I've tried this, to no avail:</p>

<pre><code>$('a.action').on( "click", function (evt) {

        // Do stuff 

}
</code></pre>
