Ajax demo - fetch server file

Demo of Javascript fetching information from server in the background in response to user actions, without reloading the page.

Uses jQuery.

The resources used (must be on same server as JS) will be:


Update area:

Data will go here.
  

Note my text is dumped in the div as if it was HTML and so becomes one big paragraph.
The robots.txt is surrounded with <pre> tag - which respects its linebreaks.