I am using the latest version jQuery UI for tabs but i get the following error in
TypeError: ui.jqXHR.error is not a function
Here is my actual code that manages tabs
$(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" );
});
}
});
And this is how i call the function
<script type="text/javascript" language="javascript">
pour_les_tabs("#tabs_20");
</script>
I am still seeing
TypeError: ui.jqXHR.error is not a function.
What could probably be the problem and how to solve it please ?
Thanks