The following Javascript displays in Safari but not Mobile Safari. Can anyone see any bugs?
$("#results").append(data);
var songdata = JSON.parse(data);
var i = 0;
for (i=0;i<=songdata.total;i++)
{
alert(i);
var songhtml = "<ul><li><img src=\"" + songdata.data[i].artwork + "\" /></li><li>" + songdata.data[i].title + "</li><li>" + songdata.data[i].artist + "</li><li>" + songdata.data[i].length + "</li><li>" + songdata.data[i].listen + "</li></ul>";
$("#results").append(songhtml);
}
Thanks in advance.