Ok, I realize it is working. But, for some reason it is not working with the ajaxload script. I have a feeling I have to somehow call the ajaxload from within livequery.
$('a.ajax').ajaxContent({ target:'#adminToolsListing', event:'click', loaderType:'img', loadingMsg:'/__data/assets/image/0018/24345/announce- loading.gif' }); }); Any ideas on how to make the two work together? On Jul 16, 11:34 am, noon <[EMAIL PROTECTED]> wrote: > sorry, I am incorrect. I forgot there were multiple forms. That > should work > > On Jul 16, 2:29 pm, noon <[EMAIL PROTECTED]> wrote: > > > livequery accepts two parameters, the first is the event to which a > > function (the 2nd parameter) is bound to. > > > $('a.someLink').livequery('click', function() { > > // anchors with a class of 'someLink' > > // can now be dynamically inserted to the dom > > // yet still have an 'onclick' event associated with them > > // as compared to the event only being bound on document ready > > > }); > > > On Jul 16, 2:05 pm, hubbs <[EMAIL PROTECTED]> wrote: > > > > I am trying to get live query to work, so that it will add a new class > > > to links that have just been added to the DOM through ajax. > > > > Something is not right though: > > > > $('a.calendarNavLink').livequery(function(){ > > > $(this).addClass('ajax'); > > > }); > > > > Have I done something wrong here?