title: jQuery .on("click") - alternative to .live()
body: <p>In my project I am appending several buttons to a div:</p>
  
  <pre><code>$(".tab-content").append("&lt;div class='landing_content'&gt;&lt;button class='off-screen-nav-button btn btn-info btn_edit' data-effeckt='effeckt-off-screen-nav-right-overlay'&gt;Edit&lt;/button&gt;&lt;/div&gt;");
  </code></pre>
  
  <p>and then listen for a click with the following code:</p>
  
  <pre><code>$(".tab-content").on("click",".btn-edit",function(){
    console.log('edit');
  });
  </code></pre>
  
  <p>Why is this not working? I am used to use .live() but it has been deprecated.</p>
  
  <p>Thanks.</p>