get url last part jquery code example
Example: get last part of url jquery
// use this
var part = [];
var url = window.location.href;
part = (url.toString()).split('/') // this will give an array then choose your part by calling this array!!
// Hope this will help you!!!