Get current URL in JavaScript?

618

I am using jQuery. How do I get the path of the current URL and assign it to a variable?

Example URL:

http://localhost/menuname.de?foo=bar&number=0

0Answer


Your Answer

    Facebook Share        
       
  • asked 4 years ago
  • viewed 618 times
  • active 4 years ago

Hot Questions