Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
NS Escaping Javascript Tags
Hello!
Today, after close to a year of operation, a customer's site started showing script errors. The cause?
I have a web site tag that (simplified) contains:
<script type="text/javascript"><A_TAG_THAT_CONTAINS_SCRIPT></script>
the content from A_TAG_THAT_CONTAINS_SCRIPT contains a Javascript AND operator which is, as of today, being escaped to a pair of html ampersand entities. None of Firefox, Chrome or IE 8 like this.
Why now? Why today? If I wanted my ampersands escaped I'd do it myself. Let's break things just before the most important shopping weekend of year shall we?
0