I have make this code:
我做了这个代码:
var newURL = $(".list-portfolio a").attr("href"),
pathArray = newURL.split( '/' ),
secondLevelLocation = pathArray[0];
console.log(pathArray);
var pathArray = pathArray[3, 4];
var newURL I have make this code:
我做了这个代码:
var newURL = $(".list-portfolio a").attr("href"),
pathArray = newURL.split( '/' ),
secondLevelLocation = pathArray[0];
console.log(pathArray);
var pathArray = pathArray[3, 4];
var newURL