Monday, April 28, 2014

4/22

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

1 comment:

  1. 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