This works:
$('img').bind('contextmenu', function(e) {
return false;
});
Or for newer jQuery:
$('#nearestStaticContainer').on('contextmenu', 'img', function(e){
return false;
});
More Related Contents:
- How to display an chage photo option on mouse hover similar to linkedin using Javascript? [closed]
- How to force browser to show image 3 inches wide?
- Store Dropdown list old values and re populate them
- HTML Form Submit pass array to PHP [closed]
- Jquery background-image
- Add/Remove Class of Nav Objects on Page Scroll
- Why does jQuery or a DOM method such as getElementById not find the element?
- jQuery click events firing multiple times
- Binding arrow keys in JS/jQuery
- variable === undefined vs. typeof variable === “undefined”
- How to get an AJAX get-request to wait for the page to be rendered before returning a response?
- Select all elements that have a specific CSS, using jQuery
- How to check if an embedded SVG document is loaded in an html page?
- How to get the containing form of an input?
- Make function wait until element exists
- Javascript/jQuery: Set Values (Selection) in a multiple Select
- Border Radius for IE8
- How to change color of an image using jquery [closed]
- Jquery .show() not revealing a div with visibility of hidden
- Trees in Twitter Bootstrap [closed]
- How to prevent html/JavaScript code modification
- Using jQuery and iFrame to Download a File
- jQuery UI Dialog Box – does not open after being closed
- In Javascript, how do I determine if my current browser is Firefox on a computer vs everything else?
- JavaScript / jQuery closure function syntax
- jQuery ajax async: false causes a strange warning?
- How to hide optgroup/option elements?
- What is the new proper way to use a child selector with a context node in jQuery?
- Determine distance from the top of a ‘div’ to top of the window with JavaScript
- How to use confirm using sweet alert?