Friday, April 24, 2015

jQuery - Retrieving list of presidents in XML format using AJAX

Here's a quick example of how to retrieve XML data from a 3rd party site via AJAX.



This example relies on jQuery and uses mysafeinfo.com to retrieve U.S. Presidents data in XML format. MySafeInfo is a free service we offer to software developers to provide test data in a simple, flexible manner, in a variety of formats, including XML, JSON, JSONP, CSV, and more.

0 comments: