♦ 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.data: the data to inserted in the bottom of selected HTML element.
Example
Input:
Output: