title: Delegate or live or on in jquery
body: <p>I use Context Menu for my project.<br>
  <code>ContextMenu</code> works perfectly. I dynamically insert a line on my table with ajax and suddenly, <code>contextMenu</code> does not work anymore.
  How to use the delegate or live or on the function of jquery in my code?</p>
  
  <pre><code>$('#mytable').bootstrapTable({
  contextMenu: '#context-menu',
  onContextMenuItem: function (row, $el) {
      if ($el.data("item") == "add") {
      alert('It work');
      }
  
      if ($el.data("item") == "edit") {
      alert('It work');
      }
      if ($el.data("item") == "delete") {
      alert('It work');
  
      }
  }
  });
  </code></pre>
  
  <p><a href="https://github.com/prograhammer/bootstrap-table-contextmenu" rel="nofollow noreferrer">ContextMenu</a></p>
  
  <p>Thanks,</p>