jquery function works with live, not with on
<p>trying to use the preferred on method call but the code is not working with <em>on</em> but does work with the <em>live</em> method.</p>

<p>Okay, I have a simple button element.</p>

<pre><code>&lt;button id="EditVal" name="EditVal" style="btn" value="Edit Debt"&gt;Edit Debt &lt;/button&gt;
</code></pre>

<p>If I use the live method this code works:</p>

<pre><code>$("#EditVal").live("click", function(e){
    alert('Edit this Val');
})
</code></pre>

<p>But this doesn't</p>

<pre><code>$("#EditVal").on("click", function(e){
    alert('Edit this Val');
})
</code></pre>

<p>What am I doing wrong?  </p>
