************************************************************************************
Problem using an External Javascript file in an XSL stylesheet (My FIRST question ... hope someone can help !)
************************************************************************************
The xsl fragment below, shows a simple bit of inline javascript, which works fine (when commenting tags are removed ). HOWEVER, when I try to put the inline stuff inside an external file (add.js in this case), the file is ignored.
What does that mean? Is "add.js" supplied by Cocoon and can you display it in your browser?
If not, are you using a reader for supplying "add.js" like
<map:match pattern="**.js">
<map:read mime-type="text/javascript src="{1}.js"/>
</map:match>I've searched around, some people suggest adding a space using:
<script language="JavaScript" type="text/javascript" src="add.js"> </script>
Why?
// this function uses the DOM to bring focus to the Shirt_Number textbox:
Why don't you use tabindex attribute?
-- Volkmar W. Pogatzki
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
