разбор JSON (средствами библиотеки)
пытаюсь обработать массив пареметров из URL http://www.ringcentral.com/api/index...eResponse=json
*мне нужны страны /но не хватает навыка/ Код:
<html><head> |
$(function () { $.getJSON( "http://www.ringcentral.com/api/index.php?cmd=getCountries&typeResponse=json", function (data) { var $test = $("#test"); $.each(data.result, function(country) { $test.append("<option>" + country.name + "</option>"); }) } ); }); |
Часовой пояс GMT +3, время: 03:39. |