Uncle Jim's
Javascript Examples
TIME IN A BUTTON
This example shows you different methods for displaying the date and time on your web page.
The first example displays
the date in a text box.
Date:
This effect (clock or date)
can also be in the
form of a button!
Time:
SCRIPT INSTALLATION INSTRUCTIONS
COPY
-
Insert Between Head Tags: <HEAD></HEAD>
COPY
-
Insert Inside Body: <BODY></BODY>
Date:
COPY
-
Insert into Body Tag: <BODY 'CODE HERE'>
onLoad="startclock()"
SCRIPT INSTALLATION INSTRUCTIONS
COPY
-
Insert Between Head Tags: <HEAD></HEAD>
COPY
-
Insert Inside Body: <BODY></BODY>
Time:
COPY
-
Insert into Body Tag: <BODY 'CODE HERE'>
onLoad="startclock()"
Close This Window