Sunday, September 28, 2008

[jQuery] Re: Designing ajax applications / DOM issues

I just had a quick look at some of the demos. This may be a good short
term solution...

On Sep 27, 4:31 pm, Ryura <yoyobo...@gmail.com> wrote:
> You'll want to look into the Live Query plugin:http://plugins.jquery.com/project/livequery/
>
> On Sep 27, 2:55 pm, "silk.odyssey" <silkodys...@gmail.com> wrote:
>
> > I am getting started with jQuery and I think I understand the basics.
> > I want to get into ajax and while I can communicate with the server I
> > don't know exactly how to structure my application so that everything
> > fits together. What happens is that I would try to apply effects to
> > elements that don't exist yet. For instance if I would try to assign
> > click event handlers to certain elements within the DOM and these
> > elements may not exist when the document loads as some of the elements
> > are read from the server when a DOM element is clicked. What I want to
> > know is how to structure my application to avoid these type of
> > problems. Or how do i make jQuery aware of new DOM elements?

No comments: