Listen to AJAX complete event from a behavior I have a form that has an AJAX button.  When I click it, it updates a bunch of stuff as expected which is fine.   

I was wondering if there is a way to create a listener in behavior that gets called when the AJAX call is complete?

Thanks
Yes, there is :

Drupal.behaviors.YourBehaviour = {
attach: function(context, settings) {  
  $('#yourform').ajaxComplete(function(event, xhr, settings) {
    if ($(event.target.id) == 'the-id-of-your-item') {
      // Your code here
    }
  });
 }
}