JQUERY APPEND() AND
HTML() METHODS
JQUERY APPEND()
Insert contents to the selected element and
append to existing elements
JQUERY HTML()
Inserts html elements to selected elements and replaces
the current element.
JQUERY CHAINING
With jquery, you can chain together actions/methods.
allows us to run multiple jQuery commands, one
after the other, on the same element(s).
EXAMPLE
$("#p1").css("color", "red").slideUp(2000).slideDown(2000)
or
$("#p1").css("color", "red")
.slideUp(2000)
.slideDown(2000);