1
In this code section, the div1
is positioned in the div2
when you click on it, but I wanted it to be done automatically when loading the page without having to click on it.
I have tried replacing the event . click by . load or . ready but it does not give.
jQuery(function ($) {
$('#DIV1').click(function () {
$('#DIV2').append(this);
});
});
Man, thank you so much. I broke my head so much with this already. Working right!
– Vinny Oliveira