View Full Version : dynamically select a tab from db field!

05-14-2009, 05:42 AM
1) Script Title: Ajax Tabs Content Script (v 2.2)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:
I am using this script to display tabs on my page ,Now what i want to do is to control the tabs selection on the basis of a field from my db table .have to select the tab which has 'is_default'= Y, order by is_default desc.

In current script ajaxtabs.js files first tab is selected always and if i select third tab and gets logout in same condition then it remain selected next time i get logged in.

plz anyone update me for change i should do in js file to have desired result.
Thanks in advance.