Skip to main content

Bug Tracker

Side navigation

#5516 closed enhancement (fixed)

Opened November 15, 2009 11:39AM UTC

Closed June 25, 2010 03:10AM UTC

Make submit, change and select events compatible with .live()

Reported by: lrbabe Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: live, bubble Cc:
Blocked by: Blocking:

It was announced during jQconf that 1.4 will make it possible to use any event with live.

We now have focus/blur and mouseenter/mouseleave in trunk (as well as an unreliable implementation of submit that we need to get rid of).

Justin meyer proposed an alternative implementation for submit:

This implementation involves many changes in the event component and relies on co-opted click and keypress events. If the propagation of these event is stopped at some point, this special event will become useless.

On the other hand, it might be possible to use co-opted focusin and focusout events (of which the propagation is more reliable) to make submit, select and change compatible with live at the same time, as achieved in Greg Reimer's Reglib: Greg Reimer in Reglib:

I've been working on a patch but didn't had time to finish it, see

I'm filing this bug to make sure that this idea doesn't get lost in the discussion group and will go back to it asap.

Attachments (0)
Change History (1)

Changed June 25, 2010 03:10AM UTC by dmethvin comment:1

resolution: → fixed
status: newclosed

Fixed in 1.4, I think. Open a new ticket on any specific issues that weren't addressed.