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
To get the URL of the parent window from within an iframe:
$(window.parent.location).attr('href');
NB: only works on same domain