How to get part of the path with jQuery?
<p>I have following URL <code>www.webiste.com/Services/allservices.html</code></p>

<p>How could I get part of this URL with jQuery?</p>

<p>e.g '<code>services'</code>
or '<code>allservices.html'</code></p>

<p>Any suggestion much appreciated. </p>
