23.09.2022, 11:50
Add console.log(data) like this and post what you get in browser console:
Code:
console.log(data);
for (var i = 0; i < data.length; i++) {