J
jtrecords
I truly tried to get this one on my own...
I am new to javascript, like 2 hours ago.
So I'm messing with an example that inserts the current date in an html
page. I want to keep the example and have my stylesheet fonts applied.
Would someone kindly give me an example of how to get this done? Do I
modify the document.write and where?
::excerpt from test.html::
today = days[now.getDay()] + ", " +
months[now.getMonth()] + " " +
date + ", " +
(fourdigits(now.getYear())) ;
// Print out the data.
document.write("" +today+ "");
TIA!
JT
I am new to javascript, like 2 hours ago.
So I'm messing with an example that inserts the current date in an html
page. I want to keep the example and have my stylesheet fonts applied.
Would someone kindly give me an example of how to get this done? Do I
modify the document.write and where?
::excerpt from test.html::
today = days[now.getDay()] + ", " +
months[now.getMonth()] + " " +
date + ", " +
(fourdigits(now.getYear())) ;
// Print out the data.
document.write("" +today+ "");
TIA!
JT