A javascript related problem

Started by
1 comment, last by Dudi Hatotah 22 years, 8 months ago
Ive got this problem a long time now, and i really dont know what to do... i tried to make a code in java-script that returns the file name that youre browser is on, so i tried to use window.location, but it returns a url data type - not a string data type as i excpected. what properties does this type have? ive found protocol and host, but i dont know how to return the file name! please help me!
Advertisement
Try document.location.href, if that''s what you''re looking for...

[Resist Windows XP''s Invasive Production Activation Technology!]
Thanx man... it worked!
window.location.href really does return a string!
now i can know the other frame''s address!
thanx!

This topic is closed to new replies.

Advertisement