I was wandering if there is any way that I can have a alert show up when you type in a URL?
the alert should read ("you are going to ADDRESS_TYPED
Get URL Address
Moderator: General Moderators
- moiseszaragoza
- Forum Commoner
- Posts: 87
- Joined: Sun Oct 03, 2004 4:04 pm
- Location: Ft lauderdale
- Contact:
-
nickvd
- DevNet Resident
- Posts: 1027
- Joined: Thu Mar 10, 2005 5:27 pm
- Location: Southern Ontario
- Contact:
Code: Select all
alert(document.location);- moiseszaragoza
- Forum Commoner
- Posts: 87
- Joined: Sun Oct 03, 2004 4:04 pm
- Location: Ft lauderdale
- Contact:
Thanks that helped a bit
I did
but the problem is that i get the address were I am and not the one that i typed
Thanks for your help
I did
Code: Select all
<body onUnload="UnLoad()"> Code: Select all
function UnLoad(){
alert(document.location);
}
Thanks for your help