Get page url using javascript
<p>Could someone recommend a way to get page name from a url using JavaScript?</p>

<p>For instance if I have: </p>

<pre><code>http://www.cnn.com/news/1234/news.html?a=1&amp;b=2&amp;c=3
</code></pre>

<p>I just need to get "news.html" string</p>

<p>Thanks!</p>
