title: jQuery - how to use the "on()" method instead of "live()"?
body: <p>I used <code>live()</code> for generated pages and frames. But in <code>jQuery 1.9</code> this function is deprecated and does not work.</p>
  
  <p>I use <code>on()</code> instead of <code>live()</code> but this method works for one time, and does not work in frames.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>  $("#element").live('click',function(){
      $("#my").html(result);
     });
  </code></pre>
  
  <p>What is the solution?</p>