搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

此討論串已經關閉並封存。 如果您有需要幫助,請新增一個新問題

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

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 McCoy

more options

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.

由 ankitkrchy 於 修改

所有回覆 (1)

more options

Duplicate question.

Please continue in your original thread :

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