Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: "GET",
- url: "http://10.211.2.219:8080/SampleWebService/sample.do",
- dataType: "jsonp",
- success: function (xml) {
- alert(xml.data[0].city);
- result = xml.code;
- document.myform.result1.value = result;
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement