gator
gator copied to clipboard
added legacy support change and submit events in ie 6/7/8
This is a simple fix for issue #7. It adds support for change and submit events in legacy ie browsers which don't support event bubbling on them. It uses a simple trick by catching the first focus event on the element and then attaching the callback to the correct event.
@ccampbell How about pulling these changes?
+1
Dang, this project really needs tests. This particular PR would really benefit from a test that shows the problem and its fix.
Haha @lazd I totally agree. It's just a time thing
@ccampbell sounds like a familiar struggle :) I reviewed a few PRs, filed some issues, and commented on a few things to get the conversation going again. I'll see what I can do about fixing a few things if you can get us caught up on existing issues and PRs!