Ciao a tutti

avevo postato in javascript pensando che fosse il + adatto ma non rispoonde nessuno

Usando && in una funzione javascrpt in una pagina xhtml il validatore w3c mi fa un parsing error

Qui sotto vi incollo la risposta del validatore,
cosa devo cambiare secondo voi?

Grazie

# Warning Line 142, Column 26: character "&" is the first character of a delimiter but occurred as data.

if (el != document.body && el != document.documentElement) {



This message may appear in several cases:

* You tried to include the "<" character in your page: you should escape it as "&lt;"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 142, Column 27: character "&" is the first character of a delimiter but occurred as data.

if (el != document.body && el != document.documentElement) {



This message may appear in several cases:

* You tried to include the "<" character in your page: you should escape it as "&lt;"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.

# Error Line 142, Column 27: XML Parsing Error: xmlParseEntityRef: no name.

if (el != document.body && el != document.documentElement) {


# Error Line 142, Column 28: XML Parsing Error: xmlParseEntityRef: no name.

if (el != document.body && el != document.documentElement) {