jquery append() method
Translation results:
append
UK [əˈpend] US [əˈpɛnd]
vt.Append; add; paste; sign (name)
jquery append() methodsyntax
Function: The append() method inserts the specified content at the end of the selected element (still inside). The append() and appendTo() methods perform the same task. The difference is: the position of the content and the selector.
Syntax: $(selector).append(content)
##Parameters:
Description | |
Required. Specifies the content to be inserted (can include HTML tags). Use functions to append content. |
Syntax: $(selector).append(function(index,html))
Parameters:
Description | |
Required. Specifies a function that returns the content to be inserted. | |
Optional. Receives the index position of the selector. | |
Optional. Receives the current HTML of the selector. |