Felix Knecht wrote:
[EMAIL PROTECTED] schrieb:
Hi there, i´ve since a few days much more problems with Javascript
and Cocoon then ever...
...
Example(in this case there is in test.js a function named "test"
and within of them an alert invocation ):
<xsl:template match="body">
<body> <script src="test/test.js" language="Javascript"/>
<script>test();</script> </body>
I had simular problems. What helped in my case was to have a starting
and ending tag for script like
<body> <script src="test/test.js" language="Javascript"> <!-- Dummy
text --> </script> <script>test();</script> </body>
Yes, that's exactly it; Internet Explorer in particular will ignore
everything after a <script> tag if it is not closed with a </script>
tag. Using the XML-style closing <script/> will not work.
http://www.phpied.com/ie-script-tag-problem/
Please note this has nothing to do with Cocoon in particular but is
simply a browser issue.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]