Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect Based on URL

Status
Not open for further replies.

caper1175

MIS
Sep 23, 2003
42
US
I am new to Javascript and need some assistance. We have an application that pushes a web address in the following form to our desktops:

where xxxx has 5 possible values.

Based on the value received, I need to redirect to another page, for example:

if xxxx = 1234 then redirect to if xxxx = 2468 then redirect to and so on.

Also, there will be times when there is no value passed so I don't want to redirect when this happens, just remain at
Any assistance would be greatly appreciated.
 
Server-side scripting would do the redirect without having to load the page redirected from on the client computer.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top