X
Tap here to go to the mobile version of the site.

Support Forum

This thread was closed and archived. Please ask a new question if you need help.

window.focus() not working for getting focus on already opened tab

Posted

I have a tab.On clicking a button on that tab a new tab opens and focus is on the newly opened tab.Now again going back to first tab and clicking on the button doesn't shift my focus to the second tab.

I have a tab.On clicking a button on that tab a new tab opens and focus is on the newly opened tab.Now again going back to first tab and clicking on the button doesn't shift my focus to the second tab.

Modified by ankitkrchy

McCoy
  • Top 10 Contributor
546 solutions 5143 answers

Duplicate question.

Please continue in your original thread :

https://support.mozilla.org/en-US/questions/1254939

Duplicate question. Please continue in your original thread : https://support.mozilla.org/en-US/questions/1254939