walker6o9
asked on
How would this url read in javascript?
Javascript Code
-------------------
if((/^https?\:\/\/(www\.)? example\.c om/).test( document.r eferrer)){
location.href="anotherpage .html";
}
If I wanted the url it redirected from to be:
http://v01.andrew.sparrow-dev.com/redirect/
instead of www.example.com
-------------------
if((/^https?\:\/\/(www\.)?
location.href="anotherpage
}
If I wanted the url it redirected from to be:
http://v01.andrew.sparrow-dev.com/redirect/
instead of www.example.com
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
v01.andrew.sparrow-dev.com