hichambob

JavaScript Can Change HTML Content

Apr 9th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1. One of many JavaScript HTML methods is getElementById().
  2.  
  3. This example uses the method to "find" an HTML element (with id="demo") and changes the element content (innerHTML) to "Hello JavaScript":   To download here  :   http://atominik.com/pzM
Advertisement
Add Comment
Please, Sign In to add comment