Function addDomListener addDomListener(DOMElement a_element, string a_eventName, object a_owner, function a_cb) addDomListener(DOMElement a_element, string a_eventName, object a_owner, string a_methodName) addDomListener(DOMElement a_element, string a_eventName, object a_owner) Binds an event handler to a DOM element If the fcf.NClient.Wrapper wrapper object is the owner, you do not need to unbind the handler. When the wrapper is destroyed, the handler will be automatically unbind from the event.

If the a_cb and a_methodName parameters are absent, then the method on the a_owner object with the name on[Event_name] is called. The Event_name suffix begins with a capital letter.

Source file fcf:fcf.js Namespace fcf Arguments: DOMElement a_element - Dom element to which the event handler is attached string a_eventName - Event name object a_owner - Event handler object function a_cb - Event handler function string a_methodName - The name of the method to be called in the a_owner object