focus,_.focus

Function Description
Focuses on the selected element or UPJSObject.
Function prototype
_.focus(element). Focuses on the @element or 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 focus,_.focus function.