Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what does document.getelementbyid return

function changeColor(newColor) {
  var elem = document.getElementById('para');
  elem.style.color = newColor;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #return
ADD COMMENT
Topic
Name
8+4 =