Insert a code inside .load
<p>I use jquery 1.3.2 and I am modifying a cart module to better suit my needs. I found a function which I think should be what I am looking for.</p>

<pre><code>function ajaxCartReloadCartView() {
  if (jQuery('#cart-form-pane').length) { 
    jQuery('#cart-form-pane').parent().load(Drupal.settings.uc_ajax_cart.SHOW_VIEW_CALLBACK, ajaxCartReloadCartViewSuccess );
  }
}
</code></pre>

<p>Would it be possible to insert code before and after function ajaxCartReloadCartViewSuccess?
I neeed to insert for example this code $("#cart-block-contents-ajax").removeClass("xxx");</p>
