...

View Full Version : string and document.lastModified in status bar



Antoniohawk
08-25-2002, 07:19 AM
I want to have "Site Last Updated" and then the date and time, in the status bar. I tried the following:

<script language="JavaScript">
var stuff="Site Last Updated "
document.write('+stuff+'document.lastModified)
</script>

it didn't work. Can some1 please tell me what to do. It would really help if some1 could give me the code. Thx alot.

joh6nn
08-25-2002, 07:32 AM
<script>
window.status = "Site Last Updated " + document.lastModified;
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum