title: What is jQuery's equivalent to Prototype's Ajax.Responders.register?
body: <p>Is there a jQuery equivalent to this prototype code?</p>
  
  <pre><code>Ajax.Responders.register({
    onException: function(x,y)
    {
      if(y.message!="Syntax error") new Insertion.After("toperrorbox","&lt;p style='color:red'&gt;"+y.message+"&lt;/p&gt;");
    }
  });
  </code></pre>