The Artima Developer Community
Sponsored Link

Web Services Forum
Javascript redirect

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ja Ja Binks

Posts: 14
Nickname: ds99bwood9
Registered: Apr, 2004

Javascript redirect Posted: Dec 2, 2005 7:35 AM
Reply to this message Reply
Advertisement
I am trying to redirect a page once a button has been clicked, so that, in all future occurrences of accessing that page in the future, the user gets taken to that page straight away.

I am using the below to force a redirect

e.g
setTimeout("top.location.href = 'http://www.google.com/'",0);

But is it possible to set some kind of flag in javascript that will force this redirection to occur once this flag (set to true once the button has been clicked) is set?

Topic: unable to locate a .class file from a jar file in classpath Previous Topic   Next Topic Topic: How to use WebLogic publishing / subscribing from a Java standalone?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use