SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    know the address in the address bar in browser

    is there any function in javascript that can let us know the address in the address bar in the browser?

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <script>
    document.write(window.location);

    or to redirect the page

    window.location='http://www.sitepoint.com';
    </script>

  3. #3
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for answering my question but this is not the answer i want

    i want the know the next website user that user want to go so i want to capture the address in the address bar

  4. #4
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    erm explain that doesn't make any sense @ all?

  5. #5
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so never mind, however thanks for helping


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •