View Full Version : Read URL of the page
06-24-2006, 01:32 AM
A small simpel question (i think)
06-24-2006, 02:31 AM
document.URL will return the url of the page.
06-24-2006, 09:27 AM
Thank you :thumbsup:
06-24-2006, 09:29 AM
Hmm which would be better to use? location.href or document.URL?
06-24-2006, 09:34 AM
Ill try both :)
06-27-2006, 04:22 AM
I'm not sure. Wether you use document.URL or location.href they'll both return the same thing. I know that document.URL returns the URL, but location.href can return or set the whole url.
06-27-2006, 04:28 AM
I used this :thumbsup:
06-28-2006, 01:33 AM
if that does what you need it to and works fine then stick with it.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.