How to get window request URI using javascript ?

Jan

28

2013

Getting window request URI using javascript

Tags: , , , ,

In: Javascript Asked By: [arvin] (Anonymously)
vote
Answer #1

Try using this:

<script>
  window.location.pathname.substring(1);
</script>
Answers Answered By: Jennifer [ Grey Star Level]

Answer this Question

Enter name & email to post an Answer. You can also Login / Join us

For a better management of this site please consider Logging in / Joining us before posting a Question. It makes everithing easier for us.

Please enter the captcha code bellow.
Logged in users don't have to use captchas. Don't have an account? Join us!

 

Link Exchange:

You can add url to the best of the internet directory. Our url is added under Reference Directory
HE Blog Directory WEB LOG SHOWWEB LOG SHOW