About 52 results
Open links in new tab
  1. Get the current URL with JavaScript? - Stack Overflow

    915 URL Info Access JavaScript provides you with many methods to retrieve and change the current URL, which is displayed in the browser's address bar. All these methods use the Location object, …

  2. url - Get the values from the "GET" parameters (JavaScript) - Stack ...

    JavaScript itself has nothing built in for handling query string parameters. Code running in a (modern) browser can use the URL object (a Web API). URL is also implemented by Node.js:

  3. How to get current URL with JavaScript? - Stack Overflow

    It sounds like what you want to do is get the whole url except for the search param so that you don't have to hard code the url. You can get the parts of the current url with window.location.hostname, …

  4. Using the GET parameter of a URL in JavaScript - Stack Overflow

    If I am on a page such as http://somesite.com/somepage.php?param1=asdf In the JavaScript of that page, I would like to set a variable to the value of the parameter in the GET part of the URL.

  5. Javascript Get Website URL - Stack Overflow

    There are many ways to get this. Open Chrome browser and press F12, you'll get console. Type following commands there for the same question URL. You will get your answer

  6. How to get current url without page in javascript or jquery

    May 7, 2013 · How to get current url without page in javascript or jquery Asked 12 years, 9 months ago Modified 12 years, 2 months ago Viewed 25k times

  7. HTTP GET request in JavaScript - Stack Overflow

    Oct 29, 2008 · I need to do an HTTP GET request in JavaScript. What's the best way to do that? I need to do this in a Mac OS X dashcode widget.

  8. ¿Cómo obtener valores de la URL (GET) en JavaScript?

    Apr 30, 2017 · En muchas ocasiones he requerido de tomar un valor proporcionado por la URL para llevar a cabo alguna acción o simplemente para imprimir al usuario dichos datos sin necesidad de …

  9. url - How can I get query string values in JavaScript? - Stack Overflow

    May 23, 2009 · Is there a plugin-less way of retrieving query string values via jQuery (or without)? If so, how? If not, is there a plugin which can do so?

  10. How to get the URL without any parameters in JavaScript?

    How to get the URL without any parameters in JavaScript? Asked 14 years, 8 months ago Modified 4 months ago Viewed 287k times