Bug Tracker

Opened 14 years ago

Closed 12 years ago

#4584 closed enhancement (invalid)

Append "contextmenu" event feature

Reported by: harobed Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: contextmenu Cc:
Blocked by: Blocking:


Example of use :

<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    // Example without jquery
    document.getElementById("contextmenu").oncontextmenu = function(e) {
        return false;

    // Example with jquery
    $("#contextmenu").contextmenu(function(e) {
        return false;
<p id="contextmenu">contextmenu</p>

Regards, Stephane

Attachments (1)

jquery.contextmenu.patch (562 bytes) - added by harobed 14 years ago.
contextmenu patch

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by harobed

Attachment: jquery.contextmenu.patch added

contextmenu patch

comment:1 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

Just use .bind("contextmenu", ...).

Note: See TracTickets for help on using tickets.