On this page
Overview
jQuery contextMenu 2.9.2 is a jQuery context-menu plugin and polyfill designed for large sets of trigger elements. It avoids pre-rendering large amounts of menu markup by generating DOM as needed and supports mouse interaction, keyboard navigation, submenus, and menu inputs.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Register context menus by selector and create DOM on demand
The README describes a design optimized for hundreds of trigger elements, keeping initialization and memory overhead low by generating menu DOM only when needed.
Sources: [1]
Navigate menus with mouse and keyboard
Arrow keys, Enter, Tab, Escape, Home, End, and related interactions are documented for keyboard navigation alongside normal mouse use.
Sources: [1]
Best fit
Fits legacy jQuery interfaces that attach actions to many rows or nodes
The design is useful for table rows, tree nodes, and similar interfaces where many elements share a context-action model.
Sources: [1]
Before adoption
The distributable baseline is 2.9.2; GitHub 2.10.0 is not on npm
GitHub's latest 2.10.0 release explicitly says Phantom release, not available on npm, and package.json at that tag still reports 2.9.2. Use 2.9.2 as the npm baseline.
Version 2.9.2 declares jQuery >=1.8.2 as a peer
Package metadata for 2.9.2 declares jQuery >=1.8.2 as its peer dependency.
Sources: [2]
Official sources
- [1]jQuery contextMenu 2.9.2 README(2026-10-05)
- [2]jQuery contextMenu 2.9.2 package metadata(2026-10-05)
- [3]jQuery contextMenu 2.9.2 release(2026-10-05)
- [4]jQuery contextMenu 2.10.0 phantom release(2026-10-05)
- [5]jQuery contextMenu package metadata at 2.10.0 tag(2026-10-05)
- [6]jQuery contextMenu MIT license(2026-10-05)
Supplemental curator note
The distributable baseline is npm package jquery-contextmenu 2.9.2. GitHub's latest release 2.10.0 explicitly says it is a phantom release not available on npm, and the tag still reports package version 2.9.2. Do not request 2.10.0 from npm.
Try it in 3 steps
- 1
Install the distributable jQuery contextMenu 2.9.2 release
Install the real npm baseline, 2.9.2, rather than the 2.10.0 phantom GitHub release.
demo=$(mktemp -d "${TMPDIR:-/tmp}/jquery-contextmenu.XXXXXX") && cd "$demo" && npm init -y >/dev/null && npm install --save-exact jquery-contextmenu@2.9.2 jquery@3.7.1 - 2
Verify the package version and jQuery peer range
Confirm the distributable version and declared jQuery peer dependency.
test "$(node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('node_modules/jquery-contextmenu/package.json'));console.log(p.version+'/'+p.peerDependencies.jquery)")" = '2.9.2/>=1.8.2' - 3
Check context-menu and position-helper distributions
Verify the context-menu assets and optional position helper without starting a browser.
test -f node_modules/jquery-contextmenu/dist/jquery.contextMenu.js && test -f node_modules/jquery-contextmenu/dist/jquery.contextMenu.css && test -f node_modules/jquery-contextmenu/dist/jquery.ui.position.js
Growth
Growth trends · Last 30 days
2,244 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 0
- Open PRs
- 5
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- contextmenu
- html
- jquery-contextmenu
- jquery
- jquery-plugin
- html5
- polyfill
- hacktoberfest
- Stars
- 2,244
- Forks
- 719
- Watchers
- 120
- Open issues
- 102
- Contributors
- 59
- Owner type
- Organization
- Primary language
- JavaScript
- License
- MIT
- Repository last updated
- Jul 30, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Expo52,566 Stars
3 shared tag(s) · 1 shared category(s)
build React Native apps for Android, iOS, and web from one project model
TypeScript - PrimeVue14,455 Stars
3 shared tag(s) · 1 shared category(s)
Combine more than 80 Vue UI components, themes, and unstyled customization in one library
Vue - React250,891 Stars
3 shared tag(s) · Same language
build web and native interfaces from declarative components
JavaScript - Svelte88,287 Stars
3 shared tag(s) · Same language
compile components into efficient JavaScript and express reactive UI through runes
JavaScript - SortableJS31,186 Stars
3 shared tag(s) · Same language
reorder list items with drag and drop within or across lists while supporting touch input
JavaScript - PhotoSwipe25,270 Stars
3 shared tag(s) · Same language
open image galleries in a lightbox with swipe, zoom, and dynamic loading across mobile and desktop
JavaScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.