I need to get the whole URL with parameters as a string. For example, I need to get the following URL:
http:
I tried to use:
document.location.href, document.URL, window.location.href
but it only retrieves part of the url:
http:
How to get a string containing the current URL, as well as its parameters?
One update: I used
window.content.document.location.href
and I have the following URL:
http:
Unfortunately, it is still part of the URL. Can someone help me how to get the whole url as a string?
Thanks!
source share