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

Re: [ydn-javascript] DOM event "change" never gets fired. -- please fix this

Expand Messages
  • Matt Sweeney
    Hi Edward, This will be fixed in the 2.7.0 release. As a workaround, you can add it per Element instance: var el = new YAHOO.util.Element( foo );
    Message 1 of 2 , Jan 2, 2009
      Hi Edward,

      This will be fixed in the 2.7.0 release.

      As a workaround, you can add it per Element instance:

      var el = new YAHOO.util.Element("foo");
      el.DOM_EVENTS.change = true; // enables change event for elements that
      support it
      el.on("change", handleChange);

      or alternatively via the Event Utility:

      YAHOO.util.Event.on("foo", "change", handleChange);

      - Matt

      edward_stow wrote:
      > Hi
      > [#1692382] DOM event "change" never gets fired. - ID: 1868816
      > http://sourceforge.net/tracker2/index.php?func=detail&aid=1868816&group_id=165715&atid=836476
      >
      > was reported nearly a year ago ( 2008-01-10 ).
      >
      > I stumbled over this issue today, it would be nice if it was fixed.
      >
      > --
      > Edward
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.