jQuery.ajax({type : "GET",
contentType : "application/json",
url : "url to the service",
dataType : "json",
success : function(data,textStatus, jqXHR) {
oModel.setProperty("/path", data);
},
error : function(errJQXHR, errTextStatus, errThrown) {
}
}
↧
Re: how to bind json model with dynamic data from server
↧