I am using the simple example shown here in order to create tabs on my page.
In my case the content of these tabs is not some light text but rather heave jsps and I prefer not to load everything at once.
My question is if there is a way to use these tabs as placeholders and only render the content for each tab’s jsp using a server call when the user actually presses them?
A simple code example would be very helpful
I am using the simple example shown here in order to create tabs on
Share
the answer to your question is HERE
The relevant piece of HTML being:
and here is a DEMO if you look in the firebug under the
xhrtab you will notice an ajax call being made upon clicking each tab