Consider:
http://example.com/page.html?returnurl=%2Fadmin
For js
within page.html
, how can it retrieve GET
parameters?
For the above simple example, func('returnurl')
should be /admin
.
But it should also work for complex query strings…
Consider:
http://example.com/page.html?returnurl=%2Fadmin
For js
within page.html
, how can it retrieve GET
parameters?
For the above simple example, func('returnurl')
should be /admin
.
But it should also work for complex query strings…