skip to Main Content

Jquery ajax – how to display image get from ajax response

$.ajax({ url: "https://developers.zomato.com/api/v2.1/search?entity_id=52&entity_type=city&start=0&count=20", dataType: 'json', async: true, beforeSend: function (xhr) { xhr.setRequestHeader('user-key', ''); }, success: function (response) { var s = ""; var i = 0; var res_Arr = response.restaurants; $.each(res_Arr, function (index, value) { var res_img = res_Arr[i].restaurant.featured_image; s…

VIEW QUESTION
Back To Top
Search