Hi
I'm doing this in my action:
$chartLoader = 'swfobject.embedSWF("open-flash-chart.swf", "mainRadar",
"550", "200", "9.0.0", "expressInstall.swf",
{"data-file":"project-charts/main-radar.php"} );';
$this->view->headScript()->appendScript($chartLoader, $type =
'text/javascript');
in my layout I include:
<?php echo $this->headScript(); ?>
which should render the appended script into the head which happens but like
that:
<script type="text/javascript">
//<![CDATA[
swfobject.embedSWF("open-flash-chart.swf", "mainRadar", "550", "200",
"9.0.0", "expressInstall.swf", {"data-file":"project-charts/main-radar.php"}
); //]]>
</script>
how can I get rid of the //<![CDATA[ stuff?
Thank you!
Markus