DigitalBonsai

Shaping the Web

Happiness is in the doing.

Importing External File Information (AJAX / DHTML)

This is a basic AJAX function that displays the content of an external file. First, a file listing of a directory is displayed on page load. Clicking on a file shows the contents of that file in a div below using AJAX.

Type file name from list to import external file:

Refresh File List

Imported File Contents:

Clear Imported Field