我收到以下错误(这对我没有任何意义!!):
TypeError: jImages[i] is undefined
代码:
$.ajax({ url: 'FilterByToestanden.php',
data: {aantal: $("#aantToestanden option:selected").text(), tekst: $('#bevat').val()},
type: 'post',
success: function(data) {
var jImages = JSON.parse(data);
alert(jImages[0][0]);
var filteredImageList = new Array();
for (var i=0, len = data.length; i< len; i++)
{
filteredImageList[i]=jImages[i][0]+jImages[i][1];
}
alert(filteredImageList);
}
});