关于如何仅打开电子邮件窗口而不打开空白页面的任何想法? [英] Any ideas on how to get just the e-mail window to open up and not the blank page?

查看:85
本文介绍了关于如何仅打开电子邮件窗口而不打开空白页面的任何想法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于如何仅打开电子邮件窗口而不是空白页面的任何想法

我正在使用下面的javascript代码打开Outlook窗口,但是它与Outlook窗口一起打开了空白窗口.我只需要打开Outlook窗口即可.
任何想法,请立即回答.

wondow.open("mailto:");

Any ideas on how to get just the e-mail window to open up and not the blank page

i am using the below javascript code to open the outlook window, but it is opening the blank window along with outlook window. I need only outlook window to be open.
Any idea, please respond it is very urgent.

wondow.open("mailto:");

推荐答案

请勿使用window.open.

Don''t use window.open.

<a id="email" href="mailto:...">mail to</a>



这可能是由JavaScript触发的



This could be triggered by a JavaScript


("#email").click();
("#email").click();


这篇关于关于如何仅打开电子邮件窗口而不打开空白页面的任何想法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆