Click to See Complete Forum and Search --> : Javascript


nguyenhong
08-24-2003, 04:05 AM
I have a javascript at below.

<script language="JavaScript"><!--
document.write('<input type="text" name="Tour_name" value="' + document.referrer + '" size="60">');
// --></script>

Could you please let me knwo why the upper script does not support IE browser but support Netcape. I also need your suggestion on how to correct it.

Nguyen Van Hong

Fang
08-24-2003, 04:17 AM
The referrer information is not always available.
It is dependent on your web hoster making it available.
Use a server side language to retrieve the information not javascript.