lundi 24 mars 2014

Markup Validation error in Javascript


Vote count:

0




I am getting this error in my markup validation:


Warning Line 23, Column 23: character "<" is the first character of a delimiter but occurred as data



for (var i = 0; i < array.length; i++) {


Is there something wrong with the "<" character in the following js?



function preloadImages(array) {
if (!preloadImages.list) {
preloadImages.list = [];
}
for (var i = 0; i < array.length; i++) {
var img = new Image();
img.src = array[i];
preloadImages.list.push(img);
}
}


asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire