DOM Insertion, Inside
-
jQuery .prependTo( Selector | Element | jQuery target )
Insert every element in the set of matched elements to the beginning of the target.
-
jQuery .prepend( Function function(index, html) )
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
-
jQuery .appendTo( Selector | Element | jQuery target )
Insert every element in the set of matched elements to the end of the target.
-
jQuery .append( Function function(index, html) )
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
-
jQuery .text( Function function(index, text) )
Set the content of each element in the set of matched elements to the specified text.
-
jQuery .html( Function function(index, oldhtml) )
Set the HTML contents of each element in the set of matched elements.