:image selector

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

Attribute starts with selector [name^=”value”]

Selects elements that have the specified attribute with a value beginning exactly with a given string. This selector can be useful for identifying elements in pages produced by server-side frameworks that produce HTML with systematic element IDs. However it will be slower than using a class selector so leverage classes, if you can, to group like elements. jQuery( "[attribute^='value']" ) v

Mouse interaction

The base interaction layer. Similar to jQuery.Widget, the mouse interaction is not intended to be used directly. It is purely a base layer for other widgets to inherit from. This page only documents what is added to jQuery.Widget, but it does include internal methods that are not intended to be overwritten. The intended public API is _mouseStart(), _mouseDrag(), _mouseStop(), and _mouseCapture(). Dependencies Widget Factory cancel

Table

Creates a responsive table Responsive tables One of the biggest challenges in responsive web design (RWD) is presenting tabular data. Large tables with lots of columns don't fit on smaller screens and there isn't a simple way to re-format the table content with CSS and media queries for an acceptable presentation. To address this, the framework offers two different options for presenting tables responsively. Each has benefits and tradeoffs, the

deferred.progress()

Add handlers to be called when the Deferred object generates progress notifications. The deferred.progress() method accepts one or more arguments, all of which can be either a single function or an array of functions. When the Deferred generates progress notifications by calling notify or notifyWith, the progressCallbacks are called. Since deferred.progress() returns the Deferred object, other methods of the Deferred object can be chained to this one.

.toggle()

Display or hide the matched elements. Note: The event handling suite also has a method named .toggle(). Which one is fired depends on the set of arguments passed. With no parameters, the .toggle() method simply toggles the visibility of elements: $( ".target" ).toggle(); The matched elements will be revealed or hidden immediately, with no animation, by changing the CSS display property. If the element is initially displayed, it will be hidden; if hi

.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

.prevAll()

Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. Given a jQuery object that represents a set of DOM elements, the .prevAll() method searches through the predecessors of these elements in the DOM tree and construct a new jQuery object from the matching elements; the elements are returned in order beginning with the closest sibling. The method optionally accepts a selector expression of the sa

.hover()

Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. The .hover() method binds handlers for both mouseenter and mouseleave events. You can use it to simply apply behavior to an element during the time the mouse is within the element. Calling $( selector ).hover( handlerIn, handlerOut ) is shorthand for: $( selector ).mouseenter( handlerIn ).mouseleave( handlerOut ); See the discussions for .m

.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()