Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q766 How can I display the documents referrer property in an input text form field?

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>

Feedback on 'Q766 How can I display the documents referrer property in an input text form field?'

©2018 Martin Webb