Here is the next database record

You haven't clicked the button yet

What's going on here?

  1. Each time you click on a button, an http request is made for the next (or previous) record in the database table.
  2. This is returned, either as some text formatted with html tags, or in the case of this page, as an XML description of the record(s),
  3. which is then formatted by my javascript function, one html table per record.