how to prevent user input in javascript code example
Example: how to stop type text texbox in javascript
$('input').keypress(function(e) {
e.preventDefault();
});
$('input').keypress(function(e) {
e.preventDefault();
});