javascript way to query the URL typed

Is there a way in javascript to query the URL typed in the browser?

What I want to do is to point multiple domain address to my virtual account and have it go to different pages within my site? ie. www.example1.com would pull up the example1.asp file; www.example2.com would pull up the example2.asp file. Both files would be in the same virtual directory.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories