Answers for "how to disable keyboard input in javascript"

6

how to disable keyboard input in javascript

$(function() {
   $('#datepicker').keypress(function(event) {
       event.preventDefault();
       return false;
   });
});
// Example: http://jsfiddle.net/4nc46jq9/1/
Posted by: Guest on September-01-2021

Code answers related to "how to disable keyboard input in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language