title: jquery context menu disable menu items
body: <p>For my asp.net mvc 3 application I'm using <a href="http://medialize.github.com/jQuery-contextMenu/" rel="noreferrer">this plugin</a>. But I have a problem, I want to enable or disable some menu items, after I have created the menu, like:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
      $(function(){
          /**************************************************
           * Menu 1
           **************************************************/
          $.contextMenu({selector: '.context-menu-one', items: {
              edit: {name: "Edit", icon: "edit", callback: $.noop, accesskey:"e d i t"},
              cut: {name: "Cut", icon: "cut", callback: $.noop, accesskey:"c u t"},
              copy: {name: "Copy", icon: "copy", callback: $.noop, accesskey:"c o p y"},
              paste: {name: "Paste", icon: "paste", callback: $.noop, accesskey:"p a s t e"},
              "delete": {name: "Delete", icon: "delete", callback: $.noop, accesskey:"d e l t"},
              sep1: "---------",
              quit: {name: "Quit", icon: "quit", callback: $.noop, accesskey:"q u i t"}
          }});
  
          //not working
          $('.context-menu-one').contextMenu('commands[0].disabled','true');
        });
  
    &lt;/script&gt; 
  </code></pre>
  
  <p>Not working, any Idea?</p>