I am using http://medialize.github.io/jQuery-contextMenu/ to generate some option on right click and it is working fine on desktop browsers but it is not working on touch screen devices. what code should I add to make it work on touch devices like ipad
I am using following code for desktop
$(function(){
jQuery.contextMenu({
selector: '.context-menu-one',
callback: function(key, options) {
window.console && console.log(m) || alert(m); */
if(key=="delete")
{
//some action
}
if(key=="copy")
{
//some action
}
},
items: {
"copy": {name: "Kopieren", icon: "copy"},
"delete": {name: "Löschen", icon: "delete"},
}
});