Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6438 closed bug (invalid)

delegate without events - call function when selection is matched

Reported by: niko9 Owned by:
Priority: Milestone: 1.4.3
Component: manipulation Version: 1.4.2
Keywords: delegate dom manipulation Cc:
Blocked by: Blocking:

Description

I tried to use delegate, but it is bounded with events. I don't really want to execute a function on a standard event. But I would need to change the elements that match a selector, when they appear in dom. Is possible to "unhook" delegate from events?

like for all existing and new elements with class ".red" to add to the "data" a new key "initiated:true".

Thanks!

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please ask for help on the forum. Thanks.

http://forum.jquery.com

Note: See TracTickets for help on using tickets.