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&nu
See purl.js. This will really help and can also be used, depending on jQuery. Use it like this:
$.url().param("yourparam");