retrositelover
Programmer
- Oct 20, 2004
- 35
Hello,
I'm still very new to Javascript and have a rather kind of beginner question:
for a single HTML file, I love to use this in order to give out the file date: document.write(document.lastModified);
now, I've got an HTML page which links all the logfiles of my different online projects: would be a dream to have a possibility listing the last edited date beneath each link
is there any chance to do this with Javascript? I can't use server side languages for my webhost doesn't support any. the only way I know would be to place Iframes embedding a small portion of each linked file where I could place the above snippet in a layer, but I'm wondering if there is any chance to read out the date of another file the client sided way and to write it down in another HTML page
thanks in advance + nice greetings
J.
I'm still very new to Javascript and have a rather kind of beginner question:
for a single HTML file, I love to use this in order to give out the file date: document.write(document.lastModified);
now, I've got an HTML page which links all the logfiles of my different online projects: would be a dream to have a possibility listing the last edited date beneath each link
is there any chance to do this with Javascript? I can't use server side languages for my webhost doesn't support any. the only way I know would be to place Iframes embedding a small portion of each linked file where I could place the above snippet in a layer, but I'm wondering if there is any chance to read out the date of another file the client sided way and to write it down in another HTML page
thanks in advance + nice greetings
J.