Closed digiguru closed 10 years ago
The "activate" function allows people to click a tab through code.
Now you can use the following to essentially "click" a tab:
$('#tabs').find('[role="tab"]').first().trigger("activate")
I've also removed the duplicate binding of the "resize" function (only needs to be bound once outside the loop)
The "activate" function allows people to click a tab through code.
Now you can use the following to essentially "click" a tab:
I've also removed the duplicate binding of the "resize" function (only needs to be bound once outside the loop)