an odd redirect?

C

chris leeds

Hi all,
I'm wondering if there's an html/ JavaScript way to replicate the asp
response.redirect.

I need to put some code in the middle of an html block that will redirect
the browser to another page.

apparently there is no equivalent to response.redirect in php other than a
header command that will do a meta refresh but it wont work because where I
need the redirect the header will have already been passed.

something like document.location?

--
The email address on this posting is a "black hole". I got tired of all the
spam.
Please feel free to contact me here:
http://nedp.net/contact/
--
 
C

chris leeds

nothing, other than how can I drop the code in the middle of the page and
have it work without the onload event.
 
C

chris leeds

but I was using window.location

are either or both of your examples better and if so why?

No sarcasm, actually interested.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top