Mudsaf Posted May 2, 2012 Share Posted May 2, 2012 Im wondering how to make textarea where is only letters a to z (lower & upper case) and numbers 0-9 allowed so people can't use any <a href='http://hurr-durr.com/'>Trollin'g Dog!</a> messages. 1 Link to comment Share on other sites More sharing options...
eTianbun Posted May 2, 2012 Share Posted May 2, 2012 www.w3scho...jsref...regexp Link to comment Share on other sites More sharing options...
eTianbun Posted May 2, 2012 Share Posted May 2, 2012 www.w3scho...jsref...regexp Link to comment Share on other sites More sharing options...
Mudsaf Posted May 11, 2012 Author Share Posted May 11, 2012 Thanks, i did it with htmlspecialchars to textbox since textbox cant show html code. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now