Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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!!!
 
PREVIOUS NEXT
Tagged: #part #url #jquery
ADD COMMENT
Topic
Name
2+4 =