.closest()

For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

jQuery.speed

Creates an object containing a set of properties ready to be used in the definition of custom animations.