codeGK
Code it ALL
jQuery append() - CodeGK

♦ jQuery append()

♣ Example1: jQuery append()

Inserts Textual/HTML data at the end of the selected HTML elements.
Basic Syntax
$(selector).append(data);
selector: the HTML element to be selected.
data: the data to inserted in the bottom of selected HTML element.
In this example, jQuery append() method is illustrated.
Example
Input:
Output: