I am trying to use the html editor and the html text starts with <script type="text/javascript" language="javascript">i=10816</script> <script type="text/javascript" language="javascript" src="http://t2.trackalyzer.com/trackalyze.js"></scrip>. When the control is displayed the javascript has been stripped out. Is there a way around this?
Hi,
I guess that is related to IE only and when <script> is the first object in editor. If yes, then that is well known feature of IE. It does not allow various objects to be first child in innerHTML. You may trick IE by inserting a dummy in front of that first object. For example:
<span style="display: none;"> </span><script type="text/javascript">alert('ok')</script>