I'm having an issue where I'm trying to use JQuery to append a string to a div.
This string will be HTML, and occassionally users will be using the script tags inside the string.
Unfortunately, when the browser reads </script>
inside the string, it ends the section and prints out all the following javascript into the browser. Obviously, we don't want that.
Is there a way to get the browser to not parse anything inside the string?
An example of this might be an Adsense ad being appended to the div.