Make sure you are using jQuery 1.3.1. In 1.3.0 there was an issue where live
wasn't working properly for elements that were not matched in the DOM at run
time.

--
Brandon Aaron

On Sat, Jan 31, 2009 at 12:20 PM, NeoTech <[email protected]> wrote:

>
> I have been having to rewrite functions as append, html, before, and
> so on. with a function callback.
> And my suggestion is that give the html manipulation functions a
> callback option.
>
> why? I have found it easier to bind events this way. Mainly because
> the browser waits for the dom injection and THEN do the event binding.
>
> I have tried live. but that only works if you have data injected
> before you start.
> Others hacks that work is animating things that isnt there for 100ms
> and then do the event binding as a function callback. But this is not
> a clean way of doing it in my opinion.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to