Home › Forums › JavaScript › [Solved] Remove Right-click on images › Re: [Solved] Remove Right-click on images
June 16, 2011 at 2:15 pm
#72799
noahgelman
Participant
Got it. Was very frustrating.
$('img').each(function() {
$(this)[0].oncontextmenu = function() {
alert('We're sorry. Right-Click is not available');
return false;
};
});