I have a tag that I want to inject some html code... ...the html code is like this...
line:1 3spaces b4<br /><br />line:3 5spacesb4<br /> 5spaces b4, line: 4
If I use .text inject this code, it just shows text, but not the html code. I would like to convert it to a html code, how can I do so?? Thank you.
Use .html() instead of .text()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With