I cannot get my json data to display in a List. Using firebug I can see that my json file is being called but my page is printing out each character as a seperate list item ie. not recognising the json object/schema.
SCRIPT
SCRIPT
$(document).ready(function () {
var ds = new kendo.data.DataSource({
transport: {
read: {
url: "data/team.json"
},
dataType: "json"
}
});
$("#listview").kendoMobileListView({
dataSource: ds
});
});
JSON
[
{ name: "Bob", title: "Mr" },
{ name: "Fred", title: "Sir" }
]
Any help would be appreciated. Files attached.