W3cubDocs

/jQuery

.andSelf()

.andSelf()Returns: jQueryversion deprecated: 1.8, removed: 3.0

Description: Add the previous set of elements on the stack to the current set.

  • version added: 1.2.andSelf()

    • This method does not accept any arguments.

Note: This API has been removed in jQuery 3.0; use .addBack() instead, which should work identically.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/andSelf