Back

.after( content, [content] )

Insert content after each element in the current set

Params

content{Content}Content to be inserted. Existing nodes will be moved instead of duplicated.
content{Content} [optional]Additional args are handled the same as the first, each in turn

Returns

DollarJS (chainable)

Examples

$('p').after('<div class="new-stuff">')