Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to appendChild in the begin of the div javascript

var element = document.getElementById("div1");
element.insertBefore(para, element.firstChild);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #appendChild #div #javascript
ADD COMMENT
Topic
Name
5+5 =