I need a little help on this one.
When the web engine in Media Center builds a page, it normally escapes values with HTML encoding (%20, etc.)
But if the variable is in a javascript block, we don't do this (or else it breaks things).
The variables in javascript blocks must need some other type of escapement. But what are the rules? Is it as simple as replacing ' and " with \" and \'?
Thanks for any help.