queryParameterValues
Returns all values for the query parameter name
ordered by their appearance in this URL. For example this returns ["banana"]
for queryParameterValue("b")
on http://host/?a=apple&b=banana
.
URL | queryParameterValues("a") | queryParameterValues("b") |
---|---|---|
http://host/ | [] | [] |
http://host/? | [] | [] |
http://host/?a=apple&k=key+lime | ["apple"] | [] |
http://host/?a=apple&a=apricot | ["apple", "apricot"] | [] |
http://host/?a=apple&b | ["apple"] | [null] |