natecavanaugh/alloy-ui — pull request #26 by ipeychev (2011-11-14 11:59:00+00:00)
Title: Delegate form events

Hi Nate,

Here is it. I created a new page, called test.html and updated yours (index.html) in order to be able to follow what exactly happens in an YUI Console.
In this 'test.html' page I copied your markup and your event subscriptions, but created a new implementation of this 'change' event. It seems it covers your tests. It also uses similar to jQuery's technique to discover whether is this synthetic event needed or not. In this case, it will be used only in IE < 9.
Please check it out. If you are satisfied with the result too, we can create a module in Alloy and load it only if needed.

Thanks,
Iliyan