javascript - WebService in JqueryMobile(Response in Json) -
i'm doing project in jquery mobiles , need webservice. in android have http connection , got response xml/json etc.. parse data , processed view. here,in case of jquery , facing problem solve issue.. read ajax call using webservices.
sample code
$.ajax({ type: "post", contenttype: "application/json; charset=utf-8", url: "some url", data: "{}", datatype: "json", success: function (msg) { alert(msg); //$("#resultlog").html(msg); } });
also,i refer google api_place search, service entirely different
referncelink click here!
does suggest proper way implement webservice interact server , retrieve json response?
thanks in advance!
Comments
Post a Comment