Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add an image to a div with javascript

div. innerHTML += '<img src="'+img. src+'" />';
Source by www.quora.com #
 
PREVIOUS NEXT
Tagged: #add #image #div #javascript
ADD COMMENT
Topic
Name
8+3 =