Oncontextmenu
how to give oncontextmenu return false for particular div?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted Feb 6, 2014, 11:27 PM EST
ranjan sahooRank #5,709 · 289 reputationPosted Feb 7, 2014, 12:02 AM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 7, 2014, 1:42 AM EST
$('.div1').contextmenu(function() { return false;}).mousedown(function() {
$('.div3').show();
})