how to open in new window

后端 未结 3 1930
别跟我提以往
别跟我提以往 2020-12-19 14:45

i have another problem :( this is my script



        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-19 15:28

    If you are opening in a new window, you don't need to check with the user about navigating away.

    function first()
        {
               window.open("http://www.yahoo.com.sg")
        }
        function second()
        {
            window.open"http://www.google.com")
        }
    

提交回复
热议问题