adding elements
- .append
- makes the added element a last child
- .prepend
- makes the added element a first child
- .appendTo
- does the same as .append except that the added element is in front of the method
- .prependTo
- does the same as .prepend except that the added element is in front of the method
It would be even nicer to include example code to go along with each of these, so you better visualize how to use them.
ReplyDelete