I'm encountering an issue while trying to copy one div to another.
The div I'm attempting to copy has a hidden parent div.
The problem is that the destination div does not appear after copying, even though I changed its style display to block. The IDs of both divs are different as well.
Source Div:
<div class="row" id="row31" style="display:none">
<div class="column grid_8">
<div id="row3bar1" class="chart" >
<p> Hello World </p>
</div>
</div>
</div>
Destination div:
<div class="row3Model" id="row3modalChart">
</div>
Copying Code:
var row11_updated_html = $('#row3bar1').html();
$('#row3modalChart').html(row11_updated_html);