Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

Methods to obtain new wrapped set based on relationships

Method                 Description children()             Returns all unique children. contents()             Returns contents of the elements. next()                 Returns all unique next siblings. nextAll()              Returns all the following siblings. parent()               Returns unique direct parents. parents()              Returns unique ancestors.  prev()                 Returns all unique previous siblings. prevAll()              Returns all the previous siblings of the wrapped elements. siblings()             Returns all unique siblings of the wrapped elements.