- Sep 23, 2003
- 11,448
- 262
- 126
I am trying to get a button in JavaScript to execute some code (i.e store cookies) then redirect to a new page.
It stores the cookies properly but I have an issue with getting a new window to load in the same frame. The page that I want to load is currently stored on my hard drive and will then be uploaded to a server with the same name. The pages are all stored in the same directory.
I tried to use:
document.href
document.location.href
window.location
Any help? I'm stuck
It stores the cookies properly but I have an issue with getting a new window to load in the same frame. The page that I want to load is currently stored on my hard drive and will then be uploaded to a server with the same name. The pages are all stored in the same directory.
I tried to use:
document.href
document.location.href
window.location
Any help? I'm stuck