[jQuery] How to Enable a Disabled Context Menu
I've disabled context menu, on page ready, using the following code:
function contextMenu(e){
return false;
}
function disableContextMenu() {
$(document).bind("contextmenu", contextMenu);
}
Now I cannot enable it with unbind function:
$(document).unbind("contextmenu", contextMenu);
Thanks,
Mohsen.