Whenever I launch my Windows Store application, I get an error that 'alert' is undefined. I'm trying to query a table in Azure Mobile Services and make a list out of the column "type_of_service" from that table.
var typeOfServiceTable = client.getTable('TypeOfService');
// Create a list of type of services
var query = typeOfServiceTable.select("type_of_service").read().done(function (results) {
alert(JSON.stringify(results));
}, function (err) {
alert("Error: " + err);
})