$(function() {
$(this).bind("contextmenu", function(e) {
e.preventDefault();
});
});
Tuesday, December 01, 2009
To disable right click event in JavaScript using jQuery
Subscribe to:
Posts (Atom)
Tips, tricks and techniques for geeks of PHP, ASP, JSP, VB, .NET, JavaScript, Dreamweaver, MySQL, Oracle, SQL Server, etc.
$(function() {
$(this).bind("contextmenu", function(e) {
e.preventDefault();
});
});