getting URL

Results 1 to 2 of 2

Thread: getting URL

  1. #1
    Dilip Guest

    Default getting URL

    Hi,<BR><BR>Is there any method in javascript using which I can get the URL from address bar.<BR>When user clicks on "Save this URL into Database" I need to store this URL into database.<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: getting URL

    In Javascript, you can use document.location to get the url.<BR><BR>url = document.location<BR><BR>In ASP, you can use request.servervariables("Script_Name").<BR><BR>Dan ny

Posting Permissions

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