Move div within child of another div using jQuery

<div id="parent">
    <div class="child">
    // something
    </div>
</div>

<div id="other-div">
</div>

I need to move the “other-div” to be within the “child” class but this has to be done using jQuery. .append or .appendTo only result in the “other-div” going inside the “parent” div.


Download move.div.within.child.of.another.div.using.jquery.zip
Direct Link


Download


Download move.div.within.child.of.another.div.using.jquery.zip
Mediafire


Download


Download move.div.within.child.of.another.div.using.jquery.zip
Sendspace


Download

Both comments and pings are currently closed.

Comments are closed.