OnKeyUp fix alphanumerical chars


/ Published in: JavaScript
Save to your folder(s)

strip non alphanumerical characters while typing


Copy this code and paste it in your HTML
  1. <input type='text' onkeyup="this.value = this.value.replace(/[^a-z0-9]/gi,"");" />

URL: http://www.barattalo.it

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.