Could not convert javascript argument Could not convert javascript argument ajax ajax

Could not convert javascript argument


I don't think you can append an array.Change:

$('#project').append(projGallery);

To:

$.each(projGallery, function(idx, val) {    $('#project').append(val);});