.append() Method

Syntax

.append()

Description

.append() method allows to insert or append content to the end of the specified element. .append( function(index, html)) is the function that returns the string appended to the matched element. Below example clearly shows you how to append a content to the specified element.

Example Code

Result:

Appending the Text

  • jQuery Tutorial
  • This is .append() jQuery



Ask Questions

Ask Question