Bonsoir,
J'ai un petit soucis avec un code javascript qui ne passe pas le test xhtml 1.0 strict du w3c :
Le problème vient des &&.
Comment corriger ce problème ?
Merci par avance
J'ai un petit soucis avec un code javascript qui ne passe pas le test xhtml 1.0 strict du w3c :
Line 138, Column 28: character "&" is the first character of a delimiter but occurred as data
if (instances%2 != 0 && text2 != ""){ sel.value = sel.value + text2; }
✉
This message may appear in several cases:
* You tried to include the "<" character in your page: you should escape it as "<"
* 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.
Le problème vient des &&.
Comment corriger ce problème ?
Merci par avance
