Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8620

Re: how to bind json model with dynamic data from server

$
0
0

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) {                   

       

    }

}


Viewing all articles
Browse latest Browse all 8620

Trending Articles