JavaScript open in a new window, not tab

前端 未结 15 1279
余生分开走
余生分开走 2020-11-21 22:18

I have a select box that calls window.open(url) when an item is selected. Firefox will open the page in a new tab by default. However, I would like the page t

15条回答
  •  感情败类
    2020-11-21 23:08

    You might try following function:

    
    

    The HTML code for execution:

    google search
    

提交回复
热议问题