next,_.next

Function Description
Next is a function that returns next dom element of an element.
Function prototype
_.next(element). It returns next dom element of @element. UPJSObject.next() returns next dom element 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
Code area to try out next,_.next function.