1

I'm surprised that I can't find anything on the net regarding javascript plugins to validate textarea objects for valid html markup. But the well is dry: does anyone know of a good example script that will parse the contents of a specified input and return false if it finds broken html markup within?

1

1 Answer 1

7

John Resig, the creator of jQuery, wrote an HTML parser:

http://ejohn.org/blog/pure-javascript-html-parser/

Sign up to request clarification or add additional context in comments.

1 Comment

Do you need any more help with this question?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.