javascript - Jquery HTML Method -
javascript - Jquery HTML Method -
i'm using jquery work on project , having problem html() method. there way method can ignore tags in text? illustration if string is
"a paragraph can started <code><p><code> tag" how can create code tag interpreted p tag it's brackets not? if solution requires beside jquery, still allow me know.
thanks in advance!
try this:
use symbol < , </ > closing tag this. illustration : "a paragraph can started <p> tutorial </p> tag"
< < , &gr; >. combining both of them create bracket tag not interpreted browser html tag.
bonus: demo. easy use.
javascript jquery html string
Comments
Post a Comment