/ Published in: jQuery
Expand |
Embed | Plain Text
$('input.nospace').keydown(function(e) { if (e.keyCode == 32) { return false; } });
You need to login to post a comment.
ZaiSL on 01/17/11
1 person have marked this snippet as a favorite
$('input.nospace').keydown(function(e) { if (e.keyCode == 32) { return false; } });
You need to login to post a comment.