document.referrer : referrer : Document JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Document » referrer »

 

document.referrer








The referrer property contains the URL that was used to reach the current document.

If the URL was typed directly into the browser's location field, this property will be empty.












<html>
    <script language="JavaScript">

    <!--
    document.write("<a href='",document.referrer,"'>Go back</a>");
    -->

    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Document
» referrer