event.isPropagationStopped()

Returns whether event.stopPropagation() was ever called on this event object. This event method is described in the W3C DOM Level 3 specification. event.isPropagationStopped() version added: 1.3 This method does not accept any arguments.

:contains() selector

Select all elements that contain the specified text. The matching text can appear directly within the selected element, in any of that element's descendants, or a combination thereof. As with attribute value selectors, text inside the parentheses of :contains() can be written as a bare word or surrounded by quotation marks. The text must have matching case to be selected. jQuery( ":contains(text)" )

Multiple selector (“selector1, selector2, selectorN”)

Selects the combined results of all the specified selectors. You can specify any number of selectors to combine into a single result. This multiple expression combinator is an efficient way to select disparate elements. The order of the DOM elements in the returned jQuery object may not be identical, as they will be in document order. An alternative to this combinator is the .add() method. jQuery( "selector1, sele

:lang() selector

Selects all elements of the specified language. The :lang() selector matches elements that have a language value equal to the supplied language code or that start with the supplied language code immediately followed by "-". For example, the selector $("div:lang(en)")will match <div lang="en"> and <div lang="en-us"> (and any of their descendant <div>s), but not <div lang="fr"> For HTML elements, the language value is determined

.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

:first-child selector

Selects all elements that are the first child of their parent. While :first matches only a single element, the :first-child selector can match more than one: one for each parent. This is equivalent to :nth-child(1). jQuery( ":first-child" ) version added: 1.1.4 Examples: Finds the first span

Ajax events

Ajax Events Ajax requests produce a number of different events that you can subscribe to. Here's a full list of the events and in what order they are triggered. There are two types of events: Local Events These are callbacks that you can subscribe to within the Ajax request object, like so: $.ajax({ beforeSend: function(){ // Handle the beforeSend event }, complete: function(){ // Handle the complete event } // ...... }); Global Events These events are triggered on t

.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

jQuery.sub()

Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object. This method is deprecated as of jQuery 1.7 and will be moved to a plugin in jQuery 1.8. There are two specific use cases for which jQuery.sub() was created. The first was for providing a painless way of overriding jQuery methods without completely destroying the original methods and another was for helping to do encapsulation and b

Spinner

Enhance a text input for entering numeric values, with up/down buttons and arrow key handling. The Spinner, or number stepper widget, is perfect for handling all kinds of numeric input. It allows users to type a value directly, or modify an existing value by spinning with the keyboard, mouse or scrollwheel. When combined with Globalize, you can even spin currencies and dates in a variety of locales. Spinner wraps a text input with two buttons to incre