javascript url parsing
- by Ra
Hi,
I have a url like http://mywebsite.com/folder1/folder2/index
how to parse this above url and get all the values separately?
I want the output like
http,
mywebsite.com, folder1, folder2, index
Thanks in adavance