Loading ...
Sorry, an error occurred while loading the content.

Event.purgeElement and Event.getListeners

Expand Messages
  • rene.haber
    Hello, I wanted to remove the listeners I added to an element by YAHOO.util.Event.purgeElement( somelink ); , but the event is still triggered after this. So I
    Message 1 of 1 , Aug 1, 2006
    • 0 Attachment
      Hello,

      I wanted to remove the listeners I added to an element by
      YAHOO.util.Event.purgeElement('somelink'); , but the event is still
      triggered after this. So I looked at the sourve of event.js and found
      that this method uses getListeners(). I tried this function alone to
      see if it shows me the listeners of the element, but this method only
      returns "null".

      Now I just wanted to know if getListeners (and thus purgeElement) has
      limitations or if I should create a bugreport for this?

      Greetings,
      René
    Your message has been successfully submitted and would be delivered to recipients shortly.