Search
 
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
Name
7+7 =