title: refrer function name in ajax, reverse callback on fail
body: <p>I have no idea how I can achieve this.
  I am using  jQuery 1.9 for ajax call back.</p>
  
  <p>I have a function, let's say:</p>
  
  <pre><code>function a (param){
  
      //calling a function this will perform ajax
      data = performAjax(param, url, etc);
  
      // render response
      renderResponse(data);
  }
  </code></pre>
  
  <p>We are executing our ajax in perform ajax function.
  Issue is when ajax fails then it perform ajaxError function.
  I put a message in div that please refresh this again.</p>
  
  <p>But <strong>how can I get function a and all the parameter of that in ajaxError function</strong>? So that I can put a link to refresh again.</p>