JavaScript Can Change HTML Content


javascript, basics of javascript
One of many JavaScript HTML methods is getElementById().
 
This example uses the method to "find" an HTML element (with id="demo") and changes the element content (innerHTML) to "Hello JavaScript".
 
some of the actions that javascript can do are listed as follows,
 
  • javascript can change HTML content 
  • javascript can change the  HTML attribute values 
  • javascript can show HTML elements 
  • javascript can change HTML styles(css) 
  • javascript can hide HTML elements

Read More...