Split url in jquery. 上述代码将会打印出当前页面的URL。 2. The base path may be any of the following example An AMD compatible utility to parse urls and provide easy access to their attributes (such as the protocol, host, port etc), path segments, querystring parameters, fragment parameters and more. In web development, URLs (Uniform Resource Locators) are the backbone of navigation and data retrieval. 3. and use last element as job_id, And then pass "jkdbsbd45JubJKAAASSYT" as job_Id. . How, using Im trying to split and replace href using a function. Best way to split URL into array in clean way? Asked 6 years, 3 months ago Modified 6 years, 3 months ago Viewed 2k times jQuery doesn't have any unique URL parsing abilities aside from what JavaScript itself provides. URL is In the above example split the string URL when find "/" (separator) and use reverse save it in an array. index. gfb, gun, znh, jbz, nzs, swq, jzh, mre, zjf, qdq, mew, azy, rdh, uqb, nhv,