redirect - Javascript Redirection not working -


this question has answer here:

i trying redirect external url. use below code.

<script> window.location.href= "www.radar.com"; </script> 

but redirect url http://localhost/webtask/www.radar.com. want redirect www.radar.com. unable find issue.please help....

you needed put whole url below.

window.location = "http://www.radar.com"; 

Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -