TaskList.prototype.GetNumTasks = function(userID) {
var apple = this.AppID;
$.ajax({
type: "POST",
contentType: "application/json; charset=utf=8",
data: "{username:'" + escape(userID) + "', wsUrl:'" + this.WSUrl + "', appType:'" + this.AppType + "'}",
url: WorkboxServiceURL + "/GetNumTasks",
dataType: "json",
success: function(data) {
alert(data.d);
alert(apple);
},
error: function() {
alert("error");
}
});
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment