You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2003/09/18 18:01:07 UTC
Javascript Error
I have some trouble with javascript.
With a xhtml file like that :
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Open a Declaration</title>
<script language="javascript" src="main.js"/>
</head>
<script> </script> --> notice the blank space
<body>
the document is well displayed.
BUT : whith this :
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Open a Declaration</title>
<script language="javascript" src="main.js"/>
</head>
<body>
I have a blank page.
What's happening, did I miss something ??
Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Javascript Error
Posted by Justin Makeig <li...@makeig.com>.
Try:
<script language="javascript" src="main.js">//</script>
(You should also use type="text/javascript" rather than the depricated
language attribute. See http://www.w3schools.com/tags/tag_script.asp)
- Justin
On 9/18/03 9:01 AM, "Lionel Crine" <cr...@4dconcept.fr> wrote:
> I have some trouble with javascript.
>
>
> With a xhtml file like that :
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
>
> <title>Open a Declaration</title>
> <script language="javascript" src="main.js"/>
>
> </head>
> <script> </script> --> notice the blank space
> <body>
>
> the document is well displayed.
>
> BUT : whith this :
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
>
> <title>Open a Declaration</title>
> <script language="javascript" src="main.js"/>
>
> </head>
> <body>
>
> I have a blank page.
>
> What's happening, did I miss something ??
>
> Lionel CRINE
> Société : 4DConcept
> 22 rue Etienne de Jouy 78353 JOUY EN JOSAS
> Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org