I have written as
<div id="sample">
....
....
<a class="uploadedfiles" href="www.google.com">File</a>
.....
.....
<div class="diagram"></div>
.....
.....
.....
</div>
Now I want the anchor tag with class uploaded files should be appended to the div with class diagram by jQuery The output should be as
<div class="diagram"><a href="www.google.com">File</a></div>