I have a table with 3 columns. I want the contextMenu to work on all elements inside the TD's except for input type elements. Is there a way to achieve this?
My selector looks like this:
$.contextMenu({
selector: '.tr_class td',
callback: function(key, options) {
}
});
Using a :not selector, which does not work:
$.contextMenu({
selector: '.tr_class td:not(input)',
callback: function(key, options) {
}
});
I have a table with 3 columns. I want the contextMenu to work on all elements inside the TD's except for input type elements. Is there a way to achieve this?
My selector looks like this: $.contextMenu({ selector: '.tr_class td', callback: function(key, options) { } });
Using a :not selector, which does not work: $.contextMenu({ selector: '.tr_class td:not(input)', callback: function(key, options) { } });