Example of .appendTo() in jQuery

February 21, 2013
In jQuery, .appendTo() is the API that appends every matched elements with target element. .appendTo() can be called as
All the p, elements will be added in current stack with div with id "divid". Any DOM element can be used for .appendTo(). Find the example to use .appendTo
<!DOCTYPE html>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<div id="divid">Hellow</div>


©2023 concretepage.com | Privacy Policy | Contact Us