As for the real problem, you can take multiple approaches to this:
- Use an external file instead.
- Escape &<>" with &<>" in the script (and suffer the browser incompatibilities this leads to).
- Use <![CDATA[ ...script contents... ]]> to allow any characters inside the script element
Last edited by liorean; 11-08-2005 at 12:19 AM..