So stoppen Sie ein Text -Texbox in JavaScript ein.

$('input').keypress(function(e) {
    e.preventDefault();
});
Elated Elk