Sample 2 -- JSONP with jQuery

Completely self-contained client-side-only example

This page is similar to the first sample but with two important differences: it uses the public jQuery library to simplify the JavaScript (in particular the AJAX call) and it uses JSONP (JSON with Padding) which allows access from any domain.

In other words, you can View Source, and then copy this entire page to your own website where it will just work. No changes to the client code are required and there is no need for any server code at all.

See Sample 3 for an even easier way to add grids to any blog or website.