title: jQuery UI Tabs, how to solve TypeError: ui.jqXHR.error is not a function?
body: <p>I am using the latest version jQuery UI for tabs but i get the following error in </p>
  
  <blockquote>
    <p>TypeError: ui.jqXHR.error is not a function</p>
  </blockquote>
  
  <p>Here is my actual code that manages tabs</p>
  
  <pre><code>$(function() {
          $( diaise_et_id ).tabs({
  
              beforeLoad: function( event, ui ) {
                  ui.jqXHR.error(function() {
                      ui.panel.html(
                          "Couldn't load this tab. Please check your internet connection or connection to the server. " +
                          "Praise God forever More" );
                  });
              }
          });
  </code></pre>
  
  <p>And this is how i call the function </p>
  
  <pre><code>&lt;script type="text/javascript" language="javascript"&gt;
  pour_les_tabs("#tabs_20");
  &lt;/script&gt;
  </code></pre>
  
  <p>I am still seeing </p>
  
  <blockquote>
    <p>TypeError: ui.jqXHR.error is not a function. </p>
  </blockquote>
  
  <p><strong>What could probably be the problem and how to solve it please ?</strong></p>
  
  <p>Thanks</p>