0

I am redirecting from other site to my site particular page. I need that Url from which site I am redirected.

I have tried document.refferer but it is alert the current page Url.

Please suggest me anyone how to get this done.

Thanks in advance.

Dolly
  • 1,042
  • 4
  • 27
  • 47
  • You can look at; 1.http://stackoverflow.com/questions/5788108/how-to-get-the-previous-page-url-using-js 2.http://stackoverflow.com/questions/3528324/how-do-you-get-the-previous-url-in-javascript 3.http://stackoverflow.com/questions/12005620/is-it-possible-to-get-url-of-previous-page-visited-from-browser-using-javascript – sergerde Feb 10 '16 at 11:55

1 Answers1

0

Have you tried with document.referrer instead of document.refferer ?

Rumoch
  • 61
  • 1
  • 5