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