Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Disable right click using Jquery
WhatsApp
Vipul Kelkar
13y
5.9
k
0
0
25
Blog
In some scenarios while developing web applications, you may need to disable right click on a web page. This can be easily done using JQuery as follows
$(document).ready(function() { $(document).bind("contextmenu",function(e){ return false; }); });
For to these two articles that explain the basics of JQuery
http://www.c-sharpcorner.com/UploadFile/Vipul.Kelkar/8954/
http://www.c-sharpcorner.com/Blogs/6449/events-and-effects-in-jquery.aspx
Disable right click using Jquery
Up Next
Dynamically Adding And Removing TextBoxes On A Button Click Using jQuery
Ebook Download
View all
Frontend Developer Interview Questions and Answers
Read by 994 people
Download Now!
Learn
View all
Membership not found