Help: Show a (ajax) tab right away then load content later.
Hi,
I use tabs control where tab content loaded via ajax.
I want to achieve following effect: when select a tab, that tab open
right away with a spinner (or any loading indicator), and the content
is shown once it's loaded.
I find it difficult to implement that with current jquery tabs,
because it seems only allow showing tab when the content is ready.
Could someone suggest a solution?
I've thought of a workaround: implement the non-ajax tabs first, and
then load tab content into corresponding div on select event. but I
haven't tried yet.
Thanks.