Just use the code of: $("#your_fild_id").keyup( function(){ //only number & letters this.value = this.value.replace(/[^a-zA-z0-9]/g, ''); });
Post a Comment