[jQuery] event-binding
[jQuery] event-binding
hello,
im currently developing a media-db using a table in whose rows the media
is displayed. each row may slide-up/down to show details. each detail
may be in-place-editable.
after having lost a lot of dblclick-event-handlers (without any known
reason), i changed the event-handling to event-delegation, which works
just fine.
however there are some problems left:
i want to edit <select>-tags to append new options. however the select
does not propagate the dblclick-event.
link-tags to external-hrefs (which should open new browser-windows,
instead of changing the application's window) and editable-selects, and
so on are constantly created and appended to the DOM.
how do i listen for dom-changes to add the appropriate listeners to
those newly created elements?
thanks a lot,
kai