How to run code when elements are attached like jQuery's live() do with events?
- by muhuk
I would like to run some code right after a certain set of elements are attached. jQuery.live() allows you to bind event handlers to elements, even if they are created later. But AFAIK there is no suitable method to do something like the following:
$("some selector").live("attach", function() { $(this).whatever(); });
How can I accomplish this?