How to change active tab with javascript?
Closed this issue · 0 comments
mandricmihai commented
How can I change the active with javascript after the page has loaded?
This is only for when the is page is first loaded.
$('.tabs').tabslet({
active: 2
});
I want to change active tab when I press a certain a tag to do that I need a function or something.Btw nice plugin simple and does the job well 👍
Edit:I have done a simple trigger('click')