diff --git a/entries/append.xml b/entries/append.xml index 0c80ec1d..42e80327 100644 --- a/entries/append.xml +++ b/entries/append.xml @@ -65,7 +65,7 @@ $( ".container" ).append( $( "h2" ) ); <h2>Greetings</h2> </div> -
If there is more than one target element, however, cloned copies of the inserted element will be created for each target after the first.
+If there is more than one target element, however, cloned copies of the inserted element will be created for each target except for the last one.
Similar to other content-adding methods such as .prepend()
and .before()
, .append()
also supports passing in multiple arguments as input. Supported input includes DOM elements, jQuery objects, HTML strings, and arrays of DOM elements.
For example, the following will insert two new <div>
s and an existing <div>
as the last three child nodes of the body: