I'm using a little javascript routine to slightly obscure email addresses.
Problem is, when the page is loaded into the editor, the javascript output is also included rendered as text.
so if I have
<script language="javascript"><!-- document.write('Hello") //--> </script>
in the editor window I end up with
<script language="javascript"><!-- document.write('Hello") //--> </script>
Hello
and if I edit the document twice, I get "Hello" twice.
Is there a way of preventing the javascript from running?
Problem is, when the page is loaded into the editor, the javascript output is also included rendered as text.
so if I have
<script language="javascript"><!-- document.write('Hello") //--> </script>
in the editor window I end up with
<script language="javascript"><!-- document.write('Hello") //--> </script>
Hello
and if I edit the document twice, I get "Hello" twice.
Is there a way of preventing the javascript from running?