I am using jquery UI tabs and content loaded into the tab is on another page. so it is loading via ajax. There is some lag between the page loading during which the part of the screen where tab content will load is completley empty. Is there a way I can show some message like 'loading....' until the content loads?
My code is:
<script type="text/javascript">
$(function(){
$("#tabs").tabs();
});
</script>
<div id="tabs">
<ul>
<li><a href="/failedPrescreenReport.jsp</a></li>
<li><a href="/failedverificationreport.jsp</a></li>
<li><a href="VerificationReport.action</a></li>
</ul>
</div>
I have tried using the spinner option of this plugin but that does not seem to work for me...(maybe my css is messed up)