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

Bounce effect

The bounce effect bounces an element. When used with hide or show, the last or first bounce will also fade in/out. bounce distance (default: 20) Number The distance of the largest "bounce" in pixels. times (default: 5)

.hasClass()

Determine whether any of the matched elements are assigned the given class. Elements may have more than one class assigned to them. In HTML, this is represented by separating the class names with a space: <div id="mydiv" class="foo bar"></div> The .hasClass() method will return true if the class is assigned to an element, even if other classes also are. For example, given the HTML above, the following will return true: $( "#mydiv" ).hasCla

.detach()

Remove the set of matched elements from the DOM. The .detach() method is the same as .remove(), except that .detach() keeps all jQuery data associated with the removed elements. This method is useful when removed elements are to be reinserted into the DOM at a later time. .detach( [selector ] ) version added: 1.4 selector

.contextmenu()

Bind an event handler to the "contextmenu" JavaScript event, or trigger that event on an element. This method is a shortcut for .on( "contextmenu", handler ) in the first two variations, and .trigger( "contextmenu" ) in the third. The contextmenu event is sent to an element when the right button of the mouse is clicked on it, but before the context menu is displayed. In case the context menu key is pressed, the event is triggered on the html element.

jQuery.isEmptyObject()

Check to see if an object is empty (contains no enumerable properties). As of jQuery 1.4 this method checks both properties on the object itself and properties inherited from prototypes (in that it doesn't use hasOwnProperty). The argument should always be a plain JavaScript Object as other types of object (DOM elements, primitive strings/numbers, host objects) may not give consistent results across browsers. To determine if an object is a plain JavaS

event.which

For key or mouse events, this property indicates the specific key or button that was pressed. The event.which property normalizes event.keyCode and event.charCode. It is recommended to watch event.which for keyboard key input. For more detail, read about event.charCode on the MDN. event.which also normalizes button presses (mousedown and mouseupevents), reporting 1 for left button, 2 for middle, and 3 for right. Use event.which instead of event.butto

event.type

Describes the nature of the event. event.type version added: 1.0 Examples: On all anchor clicks, alert the event type. $( "a" ).click(function( event ) { alert( event.type ); // "click" });

Explode effect

The explode effect hides or shows an element by splitting it into pieces. explode pieces (default: 9) Integer The number of pieces to explode, should be a perfect square, any other values are rounded to the nearest square.

vmousecancel event

Virtualized mousecancel event handler. We provide a set of "virtual" mouse events that attempt to abstract away mouse and touch events. This allows the developer to register listeners for the basic mouse events, such as mousedown, mousemove, mouseup, and click, and the plugin will take care of registering the correct listeners behind the scenes to invoke the listener at the fastest possible time for that device. In touch environments, the plugi