用于获取当前URL和javascript以使用thet链接打开outlook新邮件页面的Javascript。 [英] Javascript for getting current URL and javascript for opening outlook new mail page with thet link.

查看:178
本文介绍了用于获取当前URL和javascript以使用thet链接打开outlook新邮件页面的Javascript。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在2010年的分享点中添加我的网页部分的javascript。

要求是,



我必须在我的页面中显示一个链接(点击此处发送URL),同时点击该链接它应该打开当前邮件发送窗口(新邮件)打开的页面的URL。



我该怎么做?



请快速重播。

Hi,

I want add javascript in my web-part in share point 2010.
Requirement is,

I have to show one link ('Click here to send URL') in my page, while clicking on that link it should open outlook mail sending window (New mail) with the current URL of the page which is opened.

How can i do this?

Please replay fast.

推荐答案

*网址:

* URL:
// URL of type DOMString, readonly
//The absolute URI [IETF RFC 2396] of the document.

alert(document.URL); // This property is an alias for the location.href property on the window.



*通过展望信息:

使用Outlook Automation 2007撰写和发送来自JavaScript的电子邮件 [ ^ ]



干杯,

Edo


* Eail via outlook:
Compose and Send E-mail from JavaScript by using Outlook Automation 2007[^]

Cheers,
Edo

这篇关于用于获取当前URL和javascript以使用thet链接打开outlook新邮件页面的Javascript。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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