ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: HTML DOM referrer ÊôÐÔ

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

HTML DOM referrer ÊôÐÔ


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ä¯ÀÀ:1586 :: ::

Definition and Usage

The referrer property returns the URL of the document that loaded the current document.
referrerÊôÐÔ¿ÉÒÔ·µ»Ø¼ÓÔØµ±Ç°ÎĵµµÄÉÏÒ»¸öURLµØÖ·

Syntax
Óï·¨

document.referrer


Example
¾ÙÀý

<html>
<body>
Õâ¸öÒ³ÃæµÄÀ´Ô´Ò³ÃæµØÖ·Îª:
<script type="text/javascript">
document.write(document.referrer)
</script>
</body>
</html>


ÑÝÁ·

Return the referrer of a document
·µ»ØÎĵ²µÄÉÏÒ»¸öµØÖ·

ÆÀÂÛ (0) All