View Single Post
Old 11-12-2012, 07:55 AM   PM User | #7
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,037
Thanks: 197
Thanked 2,411 Times in 2,389 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by ElizaKaye View Post
Thank you very much.

I found out the problem. When I copied it, it went into one line so I didn't bring down that line.

How do I get it to display on the page?
Oh dear! You really ought to use the code you were given.

Code:
document.getElementById("DLM").innerHTML =  "This page was last updated on " + lmd + " @ " + lmtm;
Are you having trouble with copying/pasting because the line breaks are lost (which is a recent forum problem I am trying to sort out with the mods?)
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

Last edited by Philip M; 11-12-2012 at 07:59 AM..
Philip M is offline   Reply With Quote