mn*****@hotmail.com writes:
a simple question.
how can i get the path of the html that on browser now?
The URL of the current page is in "location.href", and its
parts are available separately as properties of the "location" object.
i think default fso path is "c:\document~~\usrname\background".
I'm assuming "fso" is short for IE/Windows Scripting Host's
FileSystemObject activeX control.
I no nothing else about that, but a default path sounds unlikely.
i noticed relative path "." means there always. doesn't care what html
file i see which is
in another path like "c:\test".
Ok, I can't get meaning out of that.
i want to get the path the current html is in.
See above.
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'