attach,_.attach

Function Description
Takes three parameters. Attaches an event to the element. When event is fired by the browser, function is called for that event. Possible events are blur, change, click, focus ant etc. They are described in http://www.w3schools.com/jsref/dom_obj_event.asp.
Function prototype
_.attach(element,events, function). Attaches one or more @events to @element. When @events occur @function is called.
Function parameters
@element - dom element
@events - one or more dom element events
@fn - function to be called when event occurs
Sample HTML DIV element is given to try UPJS function.
Orange DIV

Random Fruit!

Code area to try out attach,_.attach function.