Advertisement
SergioRP

Permitir Somente Números

Jan 16th, 2012
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.value=this.value.replace(' ','').replace(/[a-z]/gi,'');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement