Examples - File Viewer

This example is very simple, we request the selected file from the server and put its content into an HTML field without reloading the page. This time we don't send any client information to the server.

A sample code

---Select file to view its content---
    <a onclick="dynajax.request('respfile: sample.txt; resultloc: result;')">sample.txt</a>

---Place to display Content---
<div id="result"></div>

File Viewer in action

servertime.php (dynamic content)
myipaddress.php (dynamic content)


Click here to proceed to the next example
Click here to get DynAjax