.after() Method

Syntax

.after()

Description

.after() method allows to insert or append content after the specified element. .after( function(index)) is the function that returns the string inserted after the matched element. Below example clearly shows you how to insert the content using .after() function.

Example Code

Result:

After() Example

jQuery Tutorial

This is .after() jQuery




Ask Questions

Ask Question