'Javascript - change div after page load
I have a div that renders automatically by a plugin, I want after the page has loaded, I can cut it from a place and put it inside the div that contains my image:
to exemplify I made this codepen, I want to change the div 'change-place' into the div 'contain-image'
in short I want to make a javascript that takes the blue div out of the red one and puts it inside the green one
$(document).ready(function() {
$('.contain-image').append($('.change-place'));
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
