• support@answerspoint.in

Get current URL in JavaScript?

27
Advertisement

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        
       
  • publish 10 years ago
  • viewed 27 times
  • active 10 years ago

Best Rated Questions