Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Current URL

  1. #1
    New Coder
    Join Date
    Sep 2004
    Posts
    28
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Current URL

    Hi, I would like to know is it possible to use JavaScript to get the current URL and title?

  • #2
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    Hi,

    try document.location for the url and document.title for the title.

    Good luck;


  •  

    Posting Permissions

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