.scroll()

Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element. This method is a shortcut for .on( "scroll", handler ) in the first and second variations, and .trigger( "scroll" ) in the third. The scroll event is sent to an element when the user scrolls to a different place in the element. It applies to window objects, but also to scrollable frames and elements with the overflow CSS property set to scroll (or auto when th

.replaceWith()

Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. The .replaceWith() method removes content from the DOM and inserts new content in its place with a single call. Consider this DOM structure: <div class="container"> <div class="inner first">Hello</div> <div class="inner second">And</div> <div class="inner third">Goodbye</div>

:root selector

Selects the element that is the root of the document. In HTML, the root of the document, and thus the element that $(":root") selects, is always the <html> element. jQuery( ":root" ) version added: 1.9 Examples: Display the tag name of the root element. <!doctyp

.scrollTop()

Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element. The vertical scroll position is the same as the number of pixels that are hidden from view above the scrollable area. If the scroll bar is at the very top, or if the element is not scrollable, this number will be 0. .scrollTop()

.removeProp()

Remove a property for the set of matched elements. The .removeProp() method removes properties set by the .prop() method. With some built-in properties of a DOM element or window object, browsers may generate an error if an attempt is made to remove the property. jQuery first assigns the value undefined to the property and ignores any error the browser generates. In general, it is only necessary to remove custom properties that have been set on an obj

:reset selector

Selects all elements of type reset. :reset is equivalent to [type="reset"] Because :reset is a jQuery extension and not part of the CSS specification, queries using :reset cannot take advantage of the performance boost provided by the native DOM querySelectorAll() method. For better performance in modern browsers, use [type="reset"] instead. jQuery( ":reset" ) version added: 1.0

.removeAttr()

Remove an attribute from each element in the set of matched elements. The .removeAttr() method uses the JavaScript removeAttribute() function, but it has the advantage of being able to be called directly on a jQuery object and it accounts for different attribute naming across browsers. Note: Removing an inline onclick event handler using .removeAttr() doesn't achieve the desired effect in Internet Explorer 6, 7, or 8. To avoid potential problems, use

.removeData()

Remove a previously-stored piece of data. The .removeData() method allows us to remove values that were previously set using .data(). When called with the name of a key, .removeData() deletes that particular value. When called with no arguments, .removeData() removes all values. Note that .removeData() will only remove data from jQuery's internal .data() cache, and any corresponding data- attributes on the element will not be removed. A later call to

.removeClass()

Remove a single class, multiple classes, or all classes from each element in the set of matched elements. If a class name is included as a parameter, then only that class will be removed from the set of matched elements. If no class names are specified in the parameter, all classes will be removed. The .removeClass() method manipulates the className property of the selected elements, not the class attribute. Once the property is changed, it's the brow

.queue()

Show the queue of functions to be executed on the matched elements. .queue( [queueName ] ) version added: 1.2 queueName String A string containing the name of the queue. Defaults to fx, the standard effects queue.