jquery.ui-contextmenu.js

Demo with jQuery UI 1.11Demo with jQuery UI 1.10

Sample 1

Right-click in an element to open the context menu:

AAA BBB CCC

Sample 2

AAA BBB CCC

Sample 3

Open context menu using $("#container").contextmenu("open", $(".hasmenu:first")) and close after 2 sec.:

Fork me on GitHub