?
*.*
Hey-
I seem to be having a problem with the document.lastModified property.
The way it is suppose to work is that it returns the date and time at
which the document was last modified. IN my case it is returning the
current date and time. It only does this when it is on the webserver.
the code is:
<script type="text/javascript"><!--
function footer(){
document.write("Author: Me, ");
document.write("Created on 4/5/2004"+", ");
document.write("Last Modified:" +document.lastModified+ ", ");
document.write("Best viewed in a Mozilla based web browser at
1024x768");}
//-->
</script>
in the body i have a call to the function footer:
<div class="footer">
<script type="text/javascript"><!--
footer();
//--></script>
</div>
any ideas on how to fic the problem. Basically what i am looking for
is a javascript that dynamically shows the last modified.
thanks
I seem to be having a problem with the document.lastModified property.
The way it is suppose to work is that it returns the date and time at
which the document was last modified. IN my case it is returning the
current date and time. It only does this when it is on the webserver.
the code is:
<script type="text/javascript"><!--
function footer(){
document.write("Author: Me, ");
document.write("Created on 4/5/2004"+", ");
document.write("Last Modified:" +document.lastModified+ ", ");
document.write("Best viewed in a Mozilla based web browser at
1024x768");}
//-->
</script>
in the body i have a call to the function footer:
<div class="footer">
<script type="text/javascript"><!--
footer();
//--></script>
</div>
any ideas on how to fic the problem. Basically what i am looking for
is a javascript that dynamically shows the last modified.
thanks