jQuery.livequery.run() worked wonders!
You are right, not using jQuery to do ajax (yet). Will probably port
to it though.

Thanks champ!



On Nov 8, 3:26 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> Are you using jQuery for the AJAX? Live Query really only works
> automagically if you are using jQuery to modify the DOM. If you aren't using
> jQuery for the AJAX, there are a few options. Live Query has an API doing
> things a little more manual. After you load in the content from the AJAX
> call run the following code:
> jQuery.livequery.run();
>
> That will invoke Live Query as if you modified the DOM with jQuery.
>
> --
> Brandon Aaron
>
> On Fri, Nov 7, 2008 at 10:01 AM, idealists
> <[EMAIL PROTECTED]>wrote:
>
>
>
> > Hi Brandon
>
> > Thanks, so much for your reply.... I had actually tried that too.
>
> > And yes this does work..However, strangely, ONLY when I have mouse
> > overed ANOTHER link (with title attrible a['title']) that is OUTSIDE
> > the part of the page that is "refreshed" when the ajax pagination
> > occurs.
>
> > If I first mouseover a link (with title) in the updated content, then
> > the tooltip doesn't work (until I mouseover such a link outside the
> > updated content).
>
> > Strange eh.
>
> > Any ideas?
>
> > On Nov 8, 2:43 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> > > Your very close... Try this instead:
> > > $('a[title]')
> > > .livequery(function() {
> > > $(this).tipsy({ fade: true, gravity: 'w' });
>
> > > });
>
> > > No need to return false.
>
> > > --
> > > Brandon Aaron
>
> > > On Thu, Nov 6, 2008 at 9:14 PM, idealists <
> > [EMAIL PROTECTED]>wrote:
>
> > > > Im got a section of my page which updates via ajax pagination.
> > > > The jQuery tipsy tooltips work on the initial page load, but when I
> > > > click Page "2" and so on, and the ajax containing div updates with new
> > > > content the tipsy tooltips do no display.
> > > > Solution (I thought) was to use the jQuery LiveQuery plugin.  However
> > > > I am unable to get that to work.
> > > > Im kind of new to jQuery.
>
> > > > This is what I have so far:
> > > > <script type="text/javascript">
> > > > $('a[title]')
> > > >    .livequery(function() {
> > > >        $('a[title]').tipsy({fade: true, gravity: 'w'});
> > > >           return false;
> > > > });
> > > > </script>
>
> > > > This seems to work on the initial page load, but doesn't bind any new
> > > > a['title'] elements when the page is updated via ajax.
>
> > > > Any help would be appreciated.
>
> > > > Thanks

Reply via email to