DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
JavaScript program that on button click displays the current timestamp on screen
onclick="document.getElementById('demo').innerHTML = Date()"> // using the Date() function
Source by sites.google.com #
PREVIOUS
NEXT
Tagged:
#JavaScript
#program
#button
#click
#displays
#current
#timestamp
#screen
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit