I have a table in html with only 1 column: My FILES.
What I'm trying to reach: (a file explorer of a folder in the server)
When the page loads in body onload i call an ajax function that add a row for every file in my directory on the server. (shows the content of a predefined folder)
every rows has the name of the file and two kind of icons: one for simple file, another one click-able for directory. A user can click on the directory and another AJAX call is made to update the content of the table for showing the content of the clicked folder.
My only experience with ajax of yesterday was to call a php script that update a field in the page notifying the user if a username is available or not for registration purpose. I made this with POST and responseText AJAX format.
I don't know now for the file list what is best if responseXML or responseText and you have suggestion about an easy way to do this??? (it's for educational purpose, just for make you know)