SIMPLE TABLES

Filling a table with JSON data

An example about creating HTML tables at run-time, using jQuery to produce all the necessary HTML elements. For sake of semplicity, in this example we retrieve all JSON data from some a dummy hard-coded JavaScript embedded object. When working in a production environment, probably we'll want to fetch the data filling the table for a real Ajax service. For reference about invoking a real Ajax remote service, see the previous examples.

This page contains also some rough debug and inspection utility, which should help debugging the nature of a JSON object.

For details have a look to HTML code of this page.

Sources

HOME