prepend
UK[pri:'pend] US[pri:'pend]
vt. Consider in advance, plan in advance, plan in advance
to
英[tə] 美[tu,tə]
prep.To; toward; toward; about; belonging to
adv. Towards one direction; to a certain state; to close
jquery prependTo() method syntax
Function: prependTo() method inserts the specified content at the beginning of the selected element (still inside). The prepend() and prependTo() methods have the same effect. The difference is in the syntax: the placement of content and selectors, and the ability to use the prepend() function to insert content.
Syntax: $(content).prependTo(selector)
Parameters:
Parameter | Description |
content | Required. Specifies the content to be inserted (can include HTML tags). |
selector | Required. Specifies where content should be inserted. |