To append the source html content at the end of the target html content, appendTo()
method can be used.
<script> $("p").appendTo("#div3"); </script>
Above code snippet will append all paragraphs element (“p”) content to the element whose id is “div3” (consider “p” as source and “div3” as target element).
Views: 4952 | Post Order: 31