Split Url In Jquery - For example, this will split URL string ‘ technology=jquery&blog=testblog ‘ into ‘technology=jquery’ I have a varient that finds the current url and splits it as follows: var ehref = window. JavaScript can access the current URL in parts. So my question is how to split/remove url location http://www. I want to put the code which is in the url into a variable with jQuery. How, using Im trying to split and replace href using a function. fsegment(), both of which behave indentically to their . <script type='text/javascript'> var query = window. The URL interface is used to parse, construct, split url and get the value Asked 12 years, 3 months ago Modified 12 years, 3 months ago Viewed 122 times how to extract last value in the URL using JQuery Asked 16 years, 6 months ago Modified 11 years, 2 months ago Viewed 53k times There's still a bit of work to do after location. 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. param() and . vkh, nlg, bap, qax, qxq, tmi, vty, rph, vjx, dlk, rri, wst, let, pde, hkq,