Cross-domain Ajax example 3

Retrieve content from another domain.

Here I attempt to retrieve content after page load using cross-domain JSONP technique. Instead of using jQuery's $.getJSON() method, I use jquery-jsonp.

This supports error handling -- for example, if the cross-domain call does not return in 5000ms, an error popup will be displayed.

Note this is not technically ajax since there is no XMLHttpRequest