Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable a tab with jQuery Tabs

I disabled the tab like this:

$("#tabs").tabs({ disabled: [1, 2] });

But when I try to enable one of the tabs it is not working:

$("#tabs").tabs({ enabled: [1] });

Is there something I'm doing wrong here?

like image 797
dotNet Zombie Avatar asked Jun 04 '26 19:06

dotNet Zombie


1 Answers

Try $("selector").tabs("enable", n); where n is the index of the tab

like image 200
SpaceBison Avatar answered Jun 07 '26 08:06

SpaceBison



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!