Hallo,
Beim validieren meiner Website entsteht folgender Fehler. Leider kann ich nicht so richtig nachvollziehen was hier genau nicht stimmt, anscheinend soll es ein Problem mit dem "<" Zeichen geben, doch das Skript funktioniert in sich Fehlerfrei und gibt auch keine Fehler zurück. Woran kann das liegen?
.... hier mal die W3C Fehlerausgabe (XHTML 1.0 Strict):
Below are the results of checking this document for XML well-formedness and validity.
1. Warning Line 35 column 22: character "<" is the first character of a delimiter but occurred as data.
for(var i = 0; i < datalist.length; i++ )
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.
✉
2. Warning Line 60 column 24: character "<" is the first character of a delimiter but occurred as data.
for(var i = 0; i < datalist_selected.length; i++ )
✉
3. Warning Line 90 column 24: character "<" is the first character of a delimiter but occurred as data.
for(var i = 0; i < datalist_selected.length; i++ )
✉
4. Error Line 101 column 20: there is no attribute "oncontextmenu".
oncontextmenu='datalist_context_showcontextmenue(this); return false;'
Vielen Dank schonmal!
MFG Chriz