Mortgages - Credit Card Consolidation - Pacotes Porto Seguro - Home Loan - Loans

PDA

View Full Version : need code to rediect page


hado
Feb 1st 2008, 5:53 pm
I try to write this
windows.location = link
but it`s not working
I like to redirect link to link using JS any help?
with best regards

nhl4000
Feb 1st 2008, 9:52 pm
Did you put it between the script tag?
Like this:
<script type="text/javascript">
window.location = "http://www.google.com/"
</script>

Dondon2d
Feb 1st 2008, 11:27 pm
It's window.location not window.location, you can also use location = "URL"; syntax.

hado
Feb 2nd 2008, 1:03 pm
ok thanks it`s work now