Forum Moderators: open

Message Too Old, No Replies

Capture current page URL

         

vivek192

6:07 am on Jun 21, 2006 (gmt 0)

10+ Year Member



Hai,

I Have to capture the current page URL and send that page as a link to my friend, can anyone guide me how to do it, or tell me whether any sample script available for this.

Vivek

alanderson

1:28 pm on Jun 21, 2006 (gmt 0)

10+ Year Member



try document.URL

that should contain the current document's address

DrDoc

3:56 pm on Jun 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



location.href

texmex

12:40 am on Jun 22, 2006 (gmt 0)

10+ Year Member



In your browser-

If you use Firefox: File.. Send link..
If you use IE: File.. Send.. Link by eMail..

Alternatively in any browser:

Highlight the text in your address bar
right hand click and select Copy.
Open a new mail message
right hand click the body
select Paste.