> For objects that are loaded via ajax, that you want to bind clicks to, try
> the Live jQuery plugin.

Wow! The jQuery community comes through once again, reaffirming my
belief that I made the right choice moving away from Prototype and
MooTools. Thanks, Glen, that's *exactly* what I was looking for.

So much of my code is dependent on DOM elements not yet on the page.

- Rabbit

---

On Sep 22, 7:31 am, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> For objects that are loaded via ajax, that you want to bind clicks to, try
> the Live jQuery plugin.http://jquery.com/plugins/project/livequery
> This allows you to separate the click functions.  Then it will look normal,
> when you call the load inside in them.
>
> Glen
>
> On 9/21/07, Rabbit <[EMAIL PROTECTED]> wrote:
>
>
>
> > My code is starting to look like this...
>
> >http://pastie.caboo.se/99522
>
> > And I'm pretty sure that's not how it could or should look.
>
> > Does anyone have any pointers on how one could structure their code?
>
> > Thanks, much!
>
> > - Rabbit

Reply via email to