jQuery-EasyTabs
jQuery-EasyTabs copied to clipboard
loading indicator on AJAX tabs
I have a page with several tab items, with all of them loaded via ajax. The content for each tab are considerably huge, taking a few seconds to load. Using the easytabs:ajax:beforeSend event, I am able to display a loading indicator image when switching tabs.
But since the default tab is also loaded via AJAX, I want to display the same loading indicator while waiting for the content. However, easytabs:ajax:beforeSend does not work for this. Are there other solutions I'm overlooking? Or should there be another AJAX event hook to accomplish this? Thanks.