如果是通用链接点过来的
可以使用document.referer来得到
可以使用document.referer来得到
解决方案 »
- 关于用JQuery写标题展开的问题(效果类似微博点击标题展开内容)
- 如何取消复选框的默认全选(急)
- jsp页面显示问题
- 求个火狐和IE窗体关闭事件的JS...
- javaScript教程
- <span>这里是中文,为什么在span上双击后只会高亮个别字,很难看,我想高亮整个span,应该怎么做?</span>
- (100分)求javascript使图片旋转水平翻转,垂直翻转,和分别旋转90,180,270,360角度
- window.scroll问题!
- 两个窗口间传递数据的问题。
- 这些东西能不能动态生成???????????????????????????????????????
- 高分求btchina那样浮动提示框(超强ALT)的作法!谢谢了!
- 做了个论坛,怎样才能让人来访问?
Possible ValuessUrl String that specifies the URL of the referring page. The property is read-only. The property has no default value.ResThis property returns a value only when the user reaches the current page through a link from the previous page. Otherwise, document.referrer returns an empty string; it also returns an empty string when the link is from a secure site.For example, if PageA.htm includes a link to PageB.htm, and the user clicks that link, the document.referrer on PageB.htm returns "PageA.htm". However, if the user is on PageA.htm and types PageB.htm into the address line or uses Open in the File menu to get to PageB.htm, the document.referrer returns an empty string.