One or more space-separated classes to be added to the class attribute of each matched element.
Insert content, specified by the parameter, after each element in the set of matched elements.
HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert after each element in the set of matched elements.
One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.
Insert content, specified by the parameter, after each element in the set of matched elements.
A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.
One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
Get the value of an attribute for the first element in the set of matched elements.
The name of the attribute to get.
Set one or more attributes for the set of matched elements.
The name of the attribute to set.
A value to set for the attribute. If this is null
, the attribute will be deleted.
Set one or more attributes for the set of matched elements.
An object of attribute-value pairs to set.
Attach a handler to an event for the elements.
A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
A function to execute each time the event is triggered.
Attach a handler to an event for the elements.
A string containing one or more DOM event types, such as "click" or "submit," or custom event names.
Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.
Attach a handler to an event for the elements.
An object containing one or more DOM event types and functions to execute for them.
Get the children of each element in the set of matched elements, optionally filtered by a selector.
Create a deep copy of the set of matched elements.
A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false.
A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false).
Get the children of each element in the set of matched elements, including text and comment nodes.
Get the value of style properties for the first element in the set of matched elements.
A CSS property.
Get the value of style properties for the first element in the set of matched elements. Results in an object of property-value pairs.
An array of one or more CSS properties.
Set one or more CSS properties for the set of matched elements.
A CSS property name.
A value to set for the property.
Set one or more CSS properties for the set of matched elements.
A CSS property name.
A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
Set one or more CSS properties for the set of matched elements.
An object of property-value pairs to set.
Store arbitrary data associated with the matched elements.
A string naming the piece of data to set.
The new data value; it can be any JavaScript type including Array or Object.
Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
Name of the data stored.
Store arbitrary data associated with the matched elements.
An object of key-value pairs of data to update.
Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
Remove the set of matched elements from the DOM.
A selector expression that filters the set of matched elements to be removed.
Remove all child nodes of the set of matched elements from the DOM.
Reduce the set of matched elements to the one at the specified index.
An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
A string containing a selector expression to match elements against.
Determine whether any of the matched elements are assigned the given class.
The class name to search for.
Get the HTML contents of the first element in the set of matched elements.
Set the HTML contents of each element in the set of matched elements.
A string of HTML to set as the content of each matched element.
Set the HTML contents of each element in the set of matched elements.
A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.
Returns the $scope
of the element.
IMPORTANT: Requires debugInfoEnabled
to be true.
See https://docs.angularjs.org/guide/production#disabling-debug-data for more information.
Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
Remove an event handler.
Remove an event handler.
One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
A selector which should match the one originally passed to .on() when attaching event handlers.
A handler function previously attached for the event(s), or the special value false.
Remove an event handler.
One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
A handler function previously attached for the event(s), or the special value false. Takes handler with extra args that can be attached with on().
Remove an event handler.
One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".
A handler function previously attached for the event(s), or the special value false.
Remove an event handler.
An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).
A selector which should match the one originally passed to .on() when attaching event handlers.
Attach an event handler function for one or more events to the selected elements.
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax).
Attach an event handler function for one or more events to the selected elements.
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
Data to be passed to the handler in event.data when an event is triggered.
A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
Attach an event handler function for one or more events to the selected elements.
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
Attach an event handler function for one or more events to the selected elements.
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
Data to be passed to the handler in event.data when an event is triggered.
A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
Attach an event handler function for one or more events to the selected elements.
An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
Data to be passed to the handler in event.data when an event occurs.
Attach an event handler function for one or more events to the selected elements.
An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
Data to be passed to the handler in event.data when an event occurs.
Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.
A function to execute at the time the event is triggered.
Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.
An object containing data that will be passed to the event handler.
A function to execute at the time the event is triggered.
Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.
Data to be passed to the handler in event.data when an event is triggered.
A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.
Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
Data to be passed to the handler in event.data when an event occurs.
Attach a handler to an event for the elements. The handler is executed at most once per element per event type.
An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).
Data to be passed to the handler in event.data when an event occurs.
Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.
One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set.
Get the value of a property for the first element in the set of matched elements.
The name of the property to get.
Set one or more properties for the set of matched elements.
The name of the property to set.
A value to set for the property.
Set one or more properties for the set of matched elements.
An object of property-value pairs to set.
Set one or more properties for the set of matched elements.
The name of the property to set.
A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element.
Specify a function to execute when the DOM is fully loaded.
A function to execute after the DOM is ready.
Remove the set of matched elements from the DOM.
A selector expression that filters the set of matched elements to be removed.
Remove an attribute from each element in the set of matched elements.
An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
One or more space-separated classes to be removed from the class attribute of each matched element.
Remove a previously-stored piece of data.
A string naming the piece of data to delete or space-separated string naming the pieces of data to delete.
Remove a previously-stored piece of data.
An array of strings naming the pieces of data to delete.
Remove all previously-stored piece of data.
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
A function that returns content with which to replace the set of matched elements.
Returns the $scope
of the element.
IMPORTANT: Requires debugInfoEnabled
to be true.
See https://docs.angularjs.org/guide/production#disabling-debug-data for more information.
Get the combined text contents of each element in the set of matched elements, including their descendants.
Set the content of each element in the set of matched elements to the specified text.
The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.
Set the content of each element in the set of matched elements to the specified text.
A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments.
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
One or more class names (separated by spaces) to be toggled for each element in the matched set.
A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
A boolean value to determine whether the class should be added or removed.
Execute all handlers attached to an element for an event.
A string containing a JavaScript event type, such as click or submit.
An array of additional parameters to pass along to the event handler.
Execute all handlers attached to an element for an event.
A jQuery.Event object.
An array of additional parameters to pass along to the event handler.
Remove a previously-attached event handler from the elements.
A string containing a JavaScript event type, such as click or submit.
The function that is to be no longer executed.
Remove a previously-attached event handler from the elements.
A string containing a JavaScript event type, such as click or submit.
Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).
Remove a previously-attached event handler from the elements.
A JavaScript event object as passed to an event handler.
Get the current value of the first element in the set of matched elements.
Set the value of each element in the set of matched elements.
A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.
Set the value of each element in the set of matched elements.
A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments.
Wrap an HTML structure around each element in the set of matched elements.
A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.
Wrap an HTML structure around each element in the set of matched elements.
A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
Generated using TypeDoc
Adds the specified class(es) to each of the set of matched elements.
https://api.jquery.com/addClass/#addClass-className