I use jQuery. How can I get the current URL path?
For example
http://localhost/menuname.de?foo=bar&number=0
I mean, this url.
var pathname = window.location.patchname; // Return path only
varl = window.location.href; // Return all URLs
© 2024 OneMinuteCode. All rights reserved.