You are here: irt.org | FAQ | JavaScript | Referrer | Q766 [ previous next ]
Try:
<FORM NAME="formName"> <INPUT TYPE="TEXT" NAME="fieldName"> </FORM> <SCRIPT LANGUAGE="JavaScript"><!-- document.formName.fieldName.value = document.referrer; //--></SCRIPT>