jQuery Right-Click Context Menu Help!

后端 未结 1 2014
别跟我提以往
别跟我提以往 2021-01-02 14:38

http://pastebin.com/YyDzQ4Bk this is a plugin for right click context menu, anyone know why it doesn\'t work in IE?

Not only that, it\'s breaking many of my other jQ

相关标签:
1条回答
  • 2021-01-02 15:15

    Do you really need a plugin?

    You could make your own context menu using contextmenu event:

    $("element").bind("contextmenu",function(e) {
        e.preventDefault();
    
        // create and show menu
    });
    

    Some ways to achieve it

    • jQuery Context Menu script
    • Create a jQuery Context Menu for Treeview
    • Right or Left Click Context Menu Using jQuery Demo
    0 讨论(0)
提交回复
热议问题