Yes, there is a way to change the active tab. From the documentation of jQuery tabs, you would use something like the following:
$(".selector").tabs("select", 1); Where the second parameter is a zero-based index of the tabs or you could use a selector to select a certain tab. To help you out, here is an example: markup: <div id="example" class="flora"> <ul> <li><a href="#fragment-1"><span>One</span></a></li> <li><a href="#fragment-2"><span>Two</span></a></li> <li><a href="#fragment-3"><span>Three</span></a></li> </ul> <div id="fragment-1"> <p>First tab is selected by default.</p> </div> <div id="fragment-2"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </div> <div id="fragment-3"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </div> </div> javascript: $(document).ready(function(){ $("#example > ul").tabs("select", 1); }); This example would select the fragment 2 tab since I passed "1" as the second parameter. Let me know if this helps you out. -Tim On Oct 29, 9:39 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if it's possible to change the active tab. When you > load a page he will always show the first tab as active. Is it > possible to change the active tab. > > For example on the index he shows the first tab as active, thats fine. > When i go to users.php he has to show the User tab as active. > > How can i fixed this? > > Erwin