Jquery Traversing

jQuery Traversing Methods


jQuery Traversing Methods

Method Description
add() Adds elements to the laid upward of matched elements
addBack() Adds the previous laid upward of elements to the electrical flow set
andSelf() Deprecated inwards version 1.8. An alias for addBack()
children() Returns all straight off children of the selected element
closest() Returns the kickoff ancestor of the selected element
contents() Returns all straight off children of the selected chemical cistron (including text as well as comment nodes)
each() Executes a role for each matched element
end() Ends the nigh recent filtering functioning inwards the electrical flow chain, as well as provide the laid upward of matched elements to its previous state
eq() Returns an chemical cistron amongst a specific index grade out of the selected elements
filter() Reduce the laid upward of matched elements to those that check the selector or driblet dead the function's test
find() Returns descendant elements of the selected element
first() Returns the kickoff chemical cistron of the selected elements
has() Returns all elements that convey 1 or to a greater extent than elements within of them
is() Checks the laid upward of matched elements against a selector/element/jQuery object, as well as provide truthful if at to the lowest degree 1 of these elements matches the given arguments
last() Returns the terminal chemical cistron of the selected elements
map() Passes each chemical cistron inwards the matched laid upward through a function, producing a novel jQuery object containing the provide values
next() Returns the adjacent sibling chemical cistron of the selected element
nextAll() Returns all adjacent sibling elements of the selected element
nextUntil() Returns all adjacent sibling elements betwixt 2 given arguments
not() Remove elements from the laid upward of matched elements
offsetParent() Returns the kickoff positioned nurture element
parent() Returns the straight off nurture chemical cistron of the selected element
parents() Returns all ancestor elements of the selected element
parentsUntil() Returns all ancestor elements betwixt 2 given arguments
prev() Returns the previous sibling chemical cistron of the selected element
prevAll() Returns all previous sibling elements of the selected element
prevUntil() Returns all previous sibling elements betwixt 2 given arguments
siblings() Returns all sibling elements of the selected element
slice() Reduces the laid upward of matched elements to a subset specified past times a arrive at of indices


Comments

Popular posts from this blog

What Are The Main Components of a Computer System

Top Qualities To Look For In An IT Support Team

How To Integrate Google Adwords Api Into Codeigniter?