blank space validation in jquery code example
Example: jquery validator no space
$('#IdElement').keypress(function (e) {
if (e.which === 32)
return false;
})
$('#IdElement').keypress(function (e) {
if (e.which === 32)
return false;
})