Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove query param from url

function getPathFromUrl(url) {
  return url.split("?")[0];
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #remove #query #param #url
ADD COMMENT
Topic
Name
6+1 =