JavaScript - Detect HTML

Posted by user208662 on Stack Overflow See other posts from Stack Overflow or by user208662
Published on 2010-04-13T17:34:25Z Indexed on 2010/04/13 17:43 UTC
Read the original article Hit count: 231

Filed under:

Hello,

I have an HTML textarea element. I want to prevent a user from entering any HTML tags in this area. How do I detect if a user has entered any HTML a textarea with JavaScript?

Thank you

© Stack Overflow or respective owner

Related posts about JavaScript