children,_.children

Function Description
Children is a function that returns children of an element.
Function prototype
_.children(element). It returns children of @element. UPJSObject.children() returns children of the UPJSObject.
Function parameters
@element - dom element
Sample HTML DIV element is given to try UPJS function.
Orange DIV
Apple DIV
  • apple 1
  • apple 2
Apple DIV
  • apple 1
  • apple 2
Code area to try out children,_.children function.