I want below javascript to happen but without a alert, can someone help me
function DisableRightClick(event)
{
if (event.button == 2)
{
alert("Right Clicking not allowed!");
}
}
I want below javascript to happen but without a alert, can someone help me
function DisableRightClick(event)
{
if (event.button == 2)
{
alert("Right Clicking not allowed!");
}
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ugur UnluPosted Oct 16, 2019, 3:42 PM