Enable/Disable right-click on Traditional web application

Hi,

I want to enable/disable right click on my webpage. Please advise how.

mvp_badge
MVP

Hi Abira,

you can use jQuery for it . see below post for it

https://www.tutorialspoint.com/How-to-disable-right-click-using-jQuery


Hope this will help you.

Regards

Rahul

Hi Rahul, 

Thanks for your reply. Already right-click has been disabled on a page. But I dont find any Jquery. How to enable?

Thanks,

Abira

Hello @Abira 

The attached demo involves a pretty straightforward javascript based implementation to disable /enable the mouse Right Click feature/ context menu.

Regards

AJ

DemoRightClick.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.