the thing is i'm not sure the load event is the right one to bind livequery
to in your case. I personally would bind it to the click event triggering
the ajax call.

On Sat, Apr 26, 2008 at 11:26 PM, minskmaz <[EMAIL PROTECTED]> wrote:

>
> That's a really good catch Alexandre, however it didn't solve the
> problem. The title still doesn't display the newly loaded #pagetitle
> class attribute...
>
> ~MM
>
> On Apr 26, 2:12 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
> wrote:
> > correct me if i'm wrong but i think livequery needs to know on which
> event
> > type it should be attached to:
> >
> > so something like this  _
> >
> > $("#pagetitle")
> > .livequery('load',function() {
> >  //alert($(this).attr("class"));
> > $("title").text($(this).attr("class"));
> > return false;
> >  });
> >
> > see the doc for more info:http://brandonaaron.net/docs/livequery/
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com

Reply via email to