title: jQuery context menu in AJAX loaded content
body: <p>Well, after hours of trying to find something out, I have to ask here and probably again (I have found similar questions, but none of them helped me).</p>
  
  <p>I am trying to use custom context menu on page that is dynamicly loaded via AJAX - everything with jQuery. Problem is that the context menu just does not work on dynamicly loaded page...no menu is shown after right click at all.</p>
  
  <p>I have already found out that using .live() is a solution, but still can't get it working.
  Here is my last try with this <a href="http://www.trendskitchens.co.nz/jquery/contextmenu/" rel="nofollow">ContextMenu plugin</a> (using just sample code):</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).live("load", function() {
          $('#testtt').contextMenu('testtt', {
              bindings: {
                  'open': function(t) {
                      alert('Trigger was '+t.id+'\nAction was Open');
                  },
                  'email': function(t) {
                      alert('Trigger was '+t.id+'\nAction was Email');
                  },
                  'save': function(t) {
                      alert('Trigger was '+t.id+'\nAction was Save');
                  },
                  'delete': function(t) {
                      alert('Trigger was '+t.id+'\nAction was Delete');
                  }
              }
          })
      });
  
  &lt;/script&gt;
  &lt;div id="testtt"&gt;test&lt;/div&gt;
  </code></pre>
  
  <p>This is the important path that is on the page that is loaded dynamicly.</p>
  
  <p>I am also using jQuery UI Sortable, but that shouldn't by problem.</p>
  
  <p>Thanks for every helpful solution.</p>