Jquery li element id
- by Gazler
Hi,
I am using a jquery contextmenu plugin for right click menus which I am trying to add to each li element of an unordered list with the ID mailbox. The code I have is:
$("#mailbox > li").contextMenu('myMenu1', {
bindings: {
'open': function(t) {
alert('Trigger was '+t.id+'\nAction was Open');
}
//CODE SNIPPED
…