tags:

views:

22

answers:

1

I am using jquery-ui to implement tabs.

However, I need to use it more than one on the same page.

but jquery uses the id "tabs" (as opposed to class or something), so it only works for the first instance.

+1  A: 

Could you change the tabs prefix?

$( ".selector" ).tabs({ idPrefix: 'ui-tabs-primary' });

Other than that, it seemed to work for me out of the box.

alex
I was missing a line of code, and your code helped me see my mistake.
progtick