Answers for "not allowed space in input field"

0

not allowed space in input field

$('input').keypress(function( e ) {
    if(e.which === 32) 
        return false;
});
Posted by: Guest on June-01-2021

Code answers related to "not allowed space in input field"

Browse Popular Code Answers by Language