code: function(e) {
              e.preventDefault();
              e.stopImmediatePropagation();
              $(this).trigger($.Event("contextmenu", { data: e.data, pageX: e.pageX, pageY: e.pageY }));
          }
docs: contextMenu left-click trigger