Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

The element.appendChild() Method

var node1 = document.createElement('li');
document.getElementById('list').appendChild(node1);
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #The #Method
ADD COMMENT
Topic
Name
5+2 =