cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cedric Picard" <>
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,

-----Original Message-----
From: Lionel Crine [] 
Sent: 18 August 2003 15:04
Subject: javascript error

I wrote a little script :

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

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


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 CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : Fax :

To unsubscribe, e-mail:
For additional commands, e-mail:


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:
For additional commands, e-mail:

View raw message