-4
를 사용하여 JSONP를 읽는 방법? 아래 아래 내가하지만 행운을 시도하지 무엇 내가 어떻게 JSON에서 값을 읽는 JQuery와
jsonp1385632915442([{"Article":"<p>The <em>Wall Street Journal<\/em>test</p>"}]);
을 얻고 출력입니다.
$.getJSON('https://xyz.com/Service.svc/GetdataById?callback=?',
{ id: id }, function (data) {
$("#output").text(data['Article']);
}
);
사용 [jQuery.getJSON (http://api.jquery.com/jQuery.getJSON/) – matewka
그리고'google' 너무 –
JSON하지 즉, 그것은 [JSONP (HTTP입니다 : // en.wikipedia.org/wiki/JSONP). – Amadan