Menu icon Foundation
how to open a tab via javascript?

how to open a tab via javascript?

tab javascript open

how to open a tab via javascript?


Wing-Hou Chan gave the most helpful answer for this post
Wing-Hou Chan over 4 years ago

Howdy!

The method will depend on if you want the original tabs to still remain.

If you don't want the original tabs to remain check out this Pen: http://codepen.io/winghouchan/pen/jIxwi

If you want the original tabs to remain check out this Pen: http://codepen.io/winghouchan/pen/rpwbq/

Alexander Assimidis over 4 years ago

Trigger the click on the element

Wing-Hou Chan over 4 years ago

Howdy!

The method will depend on if you want the original tabs to still remain.

If you don't want the original tabs to remain check out this Pen: http://codepen.io/winghouchan/pen/jIxwi

If you want the original tabs to remain check out this Pen: http://codepen.io/winghouchan/pen/rpwbq/

Mauricio de Souza over 4 years ago

It worked perfectly Wing-Hou Chan.