Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

disabling ctrl + s using javascript

$(document).bind('keydown', function(e) {
            if(e.ctrlKey && (e.which == 83)) {
                e.preventDefault();
                return false;
            }
            });
 
PREVIOUS NEXT
Tagged: #disabling #ctrl #javascript
ADD COMMENT
Topic
Name
4+7 =