JavaScript - Get URL typed by the user
Is there a way (via JavaScript) to get the URL the user came to your site from?
My client has three domains, but only one web space (I hate having to work with what the client sets-up ), the page needs to take a seperate action according to what URL the user typed to get to the site.
Thanks in advance!
a Padded Cell our articles site!
Suzanne posted this at 21:33 — 12th August 2003.
She has: 5,507 posts
Joined: Feb 2000
document.referrer
JeevesBond posted this at 11:18 — 13th August 2003.
He has: 3,956 posts
Joined: Jun 2002
Cheers Suzanne!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.