Capture URL of the user

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean Marie

    #1

    Capture URL of the user

    Hello,

    I've got an internet site and 2 domain adress.

    The first adress go on my Home page and I would like the second one to go to
    a specific page of my site.

    I want to know how to capture the URL which has been tape by the user to
    reorient the user to the good page.

    Regards.

    Jean Marie







  • Janwillem Borleffs

    #2
    Re: Capture URL of the user


    "Jean Marie" <jm.vigneaud@gi ronde.chambagri .fr> wrote in message
    news:bm3kbn$dna $1@s1.read.news .oleane.net...[color=blue]
    >
    > I've got an internet site and 2 domain adress.
    >
    > The first adress go on my Home page and I would like the second one to go[/color]
    to[color=blue]
    > a specific page of my site.
    >
    > I want to know how to capture the URL which has been tape by the user to
    > reorient the user to the good page.
    >[/color]

    Run the following and use the property that you need:

    for (var i in location) {
    alert('location .' + i + ' = ' + location[i]);
    }


    JW



    Comment

    Working...