Home/Jquery/.appendTo() method in Jquery

.appendTo() method in Jquery

Description:

The Jquery appendTo() method is used to add additional content at the end of the selected elements. It is same like as append() method, it will add content at the end of the selected elements. The main difference is their syntax-specifically, in the placement of the target and content location.

Syntax

  • $(content).appendTo(selector)

Example: 

Output: 

dotnet-helpers-com-jquery-append-method-thiyagu-dotnethelpers

Leave A Comment