Discussion Locked

Server Refer Variable

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My web site account allows be to use .SHTML to get certain server Variables. I want to capture the refer in java script and compare it to some web sites thus deciding where to direct it.

Any one know how to acomplish this in Java Script?

1 reply

by saurabhambekar

You mean, you are passing the variable from java code (say JSP) to javascript right? if yes then what is the exact problem? are you not aware of opening the url from javascript or you are not sure how to get the variables in the javascript?

This discussion is closed to new replies.