简体   繁体   中英

Javascript validation of html markup in a textarea object

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?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM