Hi
I am using this little piece of code (see below) to pass on the location and referrer page details to me in a email. But I would like these details to also show in the html confirmation page.
Can anyone advise me what code I would need to place in this confirmation page?
<script language="JavaScript">
<!--
loc = document.location.href;
ref = document.referrer;
document.write("<input type=hidden name=location value='" + loc + "'>");
document.write("<input type=hidden name=referrer value='" + ref + "'>");
// -->
</script>
Many thanks
Happy
I am using this little piece of code (see below) to pass on the location and referrer page details to me in a email. But I would like these details to also show in the html confirmation page.
Can anyone advise me what code I would need to place in this confirmation page?
<script language="JavaScript">
<!--
loc = document.location.href;
ref = document.referrer;
document.write("<input type=hidden name=location value='" + loc + "'>");
document.write("<input type=hidden name=referrer value='" + ref + "'>");
// -->
</script>
Many thanks
Happy