ajay
05-15-2003, 02:49 PM
This is similar to the problem posted by peeps “File's path without filename?”
I've been trying to get the Domain name static no matter which page I go to on the site.
For Example
www.mysite.com/help.html
should by displayed as
www.mysite.com
when clicking on a link
I have been told to have a look at document.URL
Once again I guess this is probably a very easy question, I’m completely new to javascript so any help would be greatly appreciated!
Thank You
I've been trying to get the Domain name static no matter which page I go to on the site.
For Example
www.mysite.com/help.html
should by displayed as
www.mysite.com
when clicking on a link
I have been told to have a look at document.URL
Once again I guess this is probably a very easy question, I’m completely new to javascript so any help would be greatly appreciated!
Thank You