on does ot handle event like live in jQuery
<p>I have a page that at run time I add some control based on situations.</p>

<p>I write this code for <code>mouseover</code> event for <code>TDs</code> in my table:</p>

<pre><code>$(".TableEntry .EntryCell").live("mouseover", function () {
var parent = $(this).parent();
parent.css("background-color", "C4F7C3");
});
</code></pre>

<p>and it works fine.but according to jQuery doc:</p>

<blockquote>
  <p>the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live().</p>
</blockquote>

<p>I use <code>on</code> or <code>delegate</code> like this code but it does not works:</p>

<pre><code>$(".TableEntry .EntryCell").on("mouseover", function () {
var parent = $(this).parent();
parent.css("background-color", "C4F7C3");
});
</code></pre>

<p>how I can add event handler dynamically using <code>on</code> or <code>delegate</code>?</p>
