[ 3 posts ]

Jeff Craig

YUI Contributor

  • Username: foxxtrot
  • Joined: Thu Dec 04, 2008 9:20 am
  • Posts: 135
  • Location: Pullman, WA
  • Twitter: foxxtrot
  • GitHub: foxxtrot
  • Gists: foxxtrot
  • IRC: foxxtrot
  • YUI Developer
  • Offline
  • Profile
Tags:

Event Delegation and Forms

Post Posted: Wed Jul 22, 2009 9:19 am
+0-
I'm working on event handling on a form, and I ran into a problem with Internet Explorer where it doesn't properly bubble change events on a form's elements to the form itself. I began converting my code to use Event Delegation, as described in the documentation.

It doesn't appear to work, but before I file a bug, I want to be check if this behavior is desirable or if I'm not understanding how Event Delegation is supposed to work.

Example HTML

Click here to see the revision history on this Gist.

Adam Moore

YUI Contributor

  • Username: adam
  • Joined: Wed Sep 03, 2008 11:16 am
  • Posts: 356
  • GitHub: apm
  • Gists: apm
  • Offline
  • Profile
Tags:

Re: Event Delegation and Forms

Post Posted: Wed Jul 22, 2009 10:10 am
+0-
This has been discussed in another thread:

viewtopic.php?p=1541

Jeff Craig

YUI Contributor

  • Username: foxxtrot
  • Joined: Thu Dec 04, 2008 9:20 am
  • Posts: 135
  • Location: Pullman, WA
  • Twitter: foxxtrot
  • GitHub: foxxtrot
  • Gists: foxxtrot
  • IRC: foxxtrot
  • YUI Developer
  • Offline
  • Profile

Re: Event Delegation and Forms

Post Posted: Wed Jul 22, 2009 10:36 am
+0-
Ah, should have searched the 2.x forums as well.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum