mailto link not working within a frame chrome (over https)

后端 未结 7 1363
梦如初夏
梦如初夏 2020-12-09 02:25

I have a mailto link on a page. It works as expected when the page is loaded by itself.

However when the page is loaded via a frameset in Chrome nothing happens. Wit

相关标签:
7条回答
  • 2020-12-09 03:14

    This will also work, and won't close the window with Facebook.

    <a href="mailto:..." target="_blank">...</a>
    

    or

    $("a[href^='mailto:']").attr('target','_blank');
    
    0 讨论(0)
提交回复
热议问题