Click here to Skip to main content
15,881,625 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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.
Posted
Updated 20-Aug-13 21:39pm
v2

1 solution

* URL:
JavaScript
// 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.

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

Cheers,
Edo
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900