Solved

JQUERY MIXED AJAX AND STATIC TABS

Posted on 2011-09-10
1
288 Views
Last Modified: 2012-05-12
My design requires several tab controls on the same page as well as some which need to get content via ajax. Also, if possible, is there a way to make the ajax call once one the tab is click and clicked and not make another call when the tab is brought into focus again.

I have searched for a complete solution which integrates these features but no luck so far. So basically:

1. I need to use several Tab controls in containers on the same page.
2. The tabs will be a mix of static tabs (content generated via mysql query) and Ajax tabs (content pushed into a tab container after the page is loaded on tab button click).
3. I would like to specify if the tab button should go out and make the ajax call again to update the content when clicked or just show the content retrived in the same way the static tab s behave.
Appreciate your help. Thanks!
3. If the
 
0
Comment
Question by:pathfinder11
1 Comment
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 36520870
<<is there a way to make the ajax call once one the tab is click and clicked and not make another call when the tab is brought into focus again.>>
You just have to set a flag for each tab. If the flag is false, then make the ajax call, else dont
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello World !, Thanks : My Sincere thanks to @Michael Male who encouraged me to write an article on this in my  blog (http://scribblejava.wordpress.com). Introduction:       There are several technical issues a developer may face in his…
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question