Answers for "get last part of url jquery"

0

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!!!
Posted by: Guest on May-23-2021

Code answers related to "get last part of url jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language