Bind .ajaxcomplete() to certain urls

ajaxComplete() is a very useful tool that does for asynchronously-loaded content what .ready() does for pages loaded synchronously.

The problem is that .ajaxComplete() is bound to all $.ajax events within the DOM.

Yikes. So much for control.

How do you work around this conundrum? Fortunately, you can pin-point .ajaxComplete() to certain AJAX URLs by making use of the optional parameters passed in to the handler.

Here's an example and she works like a charm.

$( document ).ajaxComplete(function( event, xhr, settings ) {
    if ( settings.url != "/fetchMore/pudding" ) {