i need to know how to list GET requests with JS ... i have this :
window.location.pathname.search
... ????
i need to know how to list GET requests with JS ... i have this :
window.location.pathname.search
... ????
I assume you're trying to get the parameters from the query string. Do one of the followinf:
location.href
: split it around '&' and split the [0] element around '?'