how to extract page name from complex URL
<p>let's say we have this:</p>

<p><code>http://www.domainname.com/somepage.php?c=innerContent</code></p>

<p>How to retrieve with jQuery only the page name: <code>somepage.php</code></p>

<p>thx</p>
