sundemon
Programmer
- Aug 11, 2001
- 125
Hello,
I have noticed that the document.referrer doesn't seem to work in NS6.1.
I have set up two pages that link to each other, and write the property:
"first document.html"...
<html>
<head>
<title>first document.html
</title>
<script language = "javascript">
var x =document.referrer
alert(x);
</script>
</head>
<body>
<a href="second document.html">LINK</a>
</body>
</html>
and "second document.html"...
<html>
<head>
<title>second document.html
</title>
<style type="text/css">
</style>
<script language = "javascript">
var x =document.referrer
alert(x);
</script>
</head>
<body>
<a href="first document.html">LINK</a>
</body>
</html>
This produces the expected results in IE5 and NS4.75, but returna an empty string in NS6.1. It says i works in the documentation, is there a new syntax for their DOM?
Also, in my actual application, it has to work across frames. Is that a factor I have to deal with as well?
Any help is appreciated
I have noticed that the document.referrer doesn't seem to work in NS6.1.
I have set up two pages that link to each other, and write the property:
"first document.html"...
<html>
<head>
<title>first document.html
</title>
<script language = "javascript">
var x =document.referrer
alert(x);
</script>
</head>
<body>
<a href="second document.html">LINK</a>
</body>
</html>
and "second document.html"...
<html>
<head>
<title>second document.html
</title>
<style type="text/css">
</style>
<script language = "javascript">
var x =document.referrer
alert(x);
</script>
</head>
<body>
<a href="first document.html">LINK</a>
</body>
</html>
This produces the expected results in IE5 and NS4.75, but returna an empty string in NS6.1. It says i works in the documentation, is there a new syntax for their DOM?
Also, in my actual application, it has to work across frames. Is that a factor I have to deal with as well?
Any help is appreciated