Side navigation
#12084 closed bug (invalid)
Opened July 15, 2012 12:07PM UTC
Closed July 15, 2012 02:41PM UTC
`invalid` event not fired when delegated
Reported by: | celtric@gmail.com | Owned by: | celtric@gmail.com |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I don't know if it's a bug or the intended behaviour, but it sure would be very handy to have this functionality so we don't have to track every DOM manipulation for potential form insertions.
Attachments (0)
Change History (3)
Changed July 15, 2012 02:01PM UTC by comment:1
owner: | → celtric@gmail.com |
---|---|
status: | new → pending |
Changed July 15, 2012 02:19PM UTC by comment:2
I haven't been able find information about it either. The closest thing I've found it's the XForms invalid event which does indeed bubble. I wonder why they decided to disable it in HTML5.
I guess this ticket should be closed, as the problem is not about jQuery anymore.
Thank you for your comment!
Changed July 15, 2012 02:41PM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
It doesn't work, at least in Chrome 20, with or without jQuery:
http://jsfiddle.net/wcVua/6/
The
invalid
event is not bubbling.Can you point me to the current standard? The w3c site says WebForms2 has been superceded by HTML5, which says nothing about this event.
http://www.w3.org/TR/web-forms-2/
http://www.w3.org/TR/html5/common-input-element-apis.html#common-event-behaviors