Possible Duplicate:
Removing event listener which was added with bind
I need to dynamically add and remove event listeners.  I also need to set the this.
Will this change the function reference?
element.addEventListener('click', funcA);
newFunc = funcA.bind(this);
element.removeEventListner('click', newFunc);
Will removeEventListener know that I want to remove funcA?
Or does it think I'm removing a new function all together?
 
    