Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript copy content of one div to another

let content = $('div#first').html();
$('div#second').html(content);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #copy #content #div
ADD COMMENT
Topic
Name
7+3 =