_.select

Function Description
Selector function of UPJS. It has two input parameters. It executes given UPJS query(second parameter) for first parameter.
Function prototype
_.select(element, selector). It executes @selector for @element.
Function parameters
@element - dom element
@selector - UPJS selector query
Sample HTML DIV element is given to try UPJS function.
Orange DIV
Apple DIV
  • apple 1
  • apple 2
Code area to try out _.select function.