title: Getting addClass() to run after an Ajax call (within a Drupal views table)
body: <p>I've got a table, created by Views. I'm adding a class with jQuery to some of the links, something like:</p>
  
  <pre><code>$('div.view-marketplace-items .views-field-title a').addClass('test');
  </code></pre>
  
  <p>The table uses Ajax, both with a pager and with sortable table headers. <strong>What I need to do is make sure the above code runs every time the pager is used or the headers are sorted.</strong></p>
  
  <p>I've seen a function <code>live()</code>, but this seems to be for binding event handlers.</p>
  
  <p>I <em>think</em> I may need to use Drupal.behaviors, but I'm all out of brain cells at the mo in trying to understand how these work... :)</p>
  
  <p>Cheers,
  James</p>