|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
document.write and redirection to another page
Hi,
I have an HTML page with a line of javascript making this: document.write("<META HTTP-EQUIV='Refresh' CONTENT='1;URL=http://www.google.com'>"); As a result I will get a new page with just a meta tag. However it will not redirect me. If I right click with the mouse on the page, I dont get a pop up menu, so it seems the browser (IE) is thinking.. Any help is appreciate thank you |
|
#2
|
||||
|
||||
|
document write redirect
Try adding a bit more markup. html head and body tags should be enough.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > document.write and redirection to another page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|