cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cedric Picard" <C.Pic...@kainos.com>
Subject RE: javascript error
Date Mon, 18 Aug 2003 14:10:19 GMT
It's probably because an AND in javascript is && and not a single &.

Hope that helps,
Cedric

-----Original Message-----
From: Lionel Crine [mailto:crine@4dconcept.fr] 
Sent: 18 August 2003 15:04
To: users@cocoon.apache.org
Subject: javascript error


I wrote a little script :

<script language="javascript">
function controle() {
...

if (subgif != 'gif' & subgif != 'GIF')
...
}

  </script>

This xcript tests some illustration but the "&" entity create an error.

I tried to write &amp; instead but it doesn't work.

Javascript in xhtml page should be handle in a particular way ?

Lionel



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



--

This e-mail is confidential and is intended for the named recipient only. If
you receive it in error please destroy the message and all copies. Kainos
Software Ltd. does not accept liability for damage sustained as a result of
malicious software (e.g. viruses). Kainos does not accept liability for, or
permit, the creation of contracts on its behalf by e-mail, the publication of
any defamatory statement by its employees by e-mail, or changes subsequently
made to the original message. The Company's registered office is located at
4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message