I have textbox to enter only alphabet and numerical values. I do not want use plugin. Is it possible'
+1
A:
$(":text").keyup(function() {
if (this.value.match(/[^a-zA-Z0-9]/)) {
this.value = this.value.replace(/[^a-zA-Z0-9]/g, '');
}
});
nickf
2009-09-16 03:08:19
very helping nick. thaks
Mario
2009-09-16 03:15:28