Hi there,
i´ve since a few days much more problems with Javascript and Cocoon then ever...

When I trying to read a local or remote Javascript Sourcefile in my XSL Context 
to use them on client side for particular dutys, i getting only a screen with 
my html elements without my logical part of Javascript.

My Reader is orderly registered and read the whole Javascript File as well. I 
getting no one produced Error to my logfiles in this time.

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>

...

There happens nothing. Also an separately invocation of the alert function 
brings no result to my eyes...

Such like this:

<xsl:template match="body">

<body>
 <script src="test/test.js" language="Javascript"/>
 <script>alert("Testing an JavaScript Function Call ...");</script> 
</body>

...

But now....

After i deleted the include tag for the Javascript file, my alert Box appears 
correctly.

<xsl:template match="body">

<body>
 <script>alert("Testing an JavaScript Function Call ...");</script> 
</body>

...


What could it be?

Best Regards
Sebastian Wenzky

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to