window.open with popup blocker

前端 未结 5 2096
别那么骄傲
别那么骄傲 2020-12-19 11:27

I am trying to open a certain page from my default page. All the code there is in the default page is:



        
5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-19 11:43

    You can open popup using onclick event only. You can try submitting form with target="_blank" and action set to your url, but forefox blocked this, google chrome not.

提交回复
热议问题