Get page url using javascript

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-03-11T16:55:10Z Indexed on 2010/03/11 18:59 UTC
Read the original article Hit count: 128

Filed under:

Hello, could some one recommend a way to get page name from a url using JavaScript? For instance if I have http://www.cnn.com/news/1234/news.html?a=1&b=2&c=3 I just need to get "news.html" string

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript