Last Modified Timestamp

by Nathan Lyle <natlyle(at)nmu.edu>

 Date:  Fri, 18 May 2001 13:55:30 -0400
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
I can find a million pages that show and demonstrate how to display the
'last modified' date on a document in the following way:

	document.writeln("Last modified " + document.lastModified);

Which works fine for display the date that the HTML document in question
was changed. Here's my problem. I have an html file which loads a
javascript (.js) file containing an array of data that gets updated from
time to time. I would like to display the date that the javascript file is
modified, not the HTML document in which the javascript file gets invoked.
I can't figure out how to refer to the javascript file itself as a document.

Any ideas?

~Nathan Lyle   (The Tragic Comedian Poet)

Email:  natlyle(at)nmu.edu    or    jopling(at)geocities.com
Web: http://euclid.nmu.edu/~natlyle
Phone: (906)485-4806

"Businesses planned for service are apt to succeed; businesses planned for
profit are apt to fail." - Nicholas M. Butler (1862-1947) - American educator

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA