jquery.ui-contextmenu.js

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