Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

getElementById

<!DOCTYPE html>
<html>
<body>
  <p id="demo"></p>
//JavaScript can create dynamic HTML content:
<script>
document.getElementById("demo").innerHTML = "Date : " + Date(); </script>
</body>
</html>
Source by www.erelcolak.com #
 
PREVIOUS NEXT
Tagged: #getElementById
ADD COMMENT
Topic
Name
3+5 =