Is it possible to merge two sets of data data.posts
and data.comments
so they all come under response in my loop?
success: function(data) {
datas = data.posts;
datas = data.comments;
$.each(datas, function(i, response) {
)}
}