jquery - Append .php json to javascript -
i have json result site 'www.example.com/jsonresult.php'
{ 1: { item_id: "balls", item2: "2", item3: "3", item4: "4" } } how append in jquery mobile javascript at
$.ajax({ url: forecasturl, jsoncallback: 'jsoncallback', contenttype: "application/json", datatype: 'jsonp', success: function(json) { console.log(json); $("#current_temp").html('here'); $("#current_summ").html('and here'); }, error: function(e) { console.log(e.message); } });` please help, thanks.
Comments
Post a Comment