Question: ❓❓❓

I’m looking for a jQuery plugin that can get URL parameters, and support this search string without outputting the JavaScript error: “malformed URI sequence”. If there isn’t a jQuery plugin that supports this, I need to know how to modify it to support this.


The value of the URL parameter, when decoded, should be:


(the characters are Norwegian).

I don’t have access to the server, so I can’t modify anything on it.

Good Answer: 👌👌👌

You should not use jQuery for something like this!
The modern way is to use small reusable modules through a package-manager like Bower.

I’ve created a tiny module that can parse the query string into an object. Use it like this:

// parse the query string into an object and get the property
//=> æøå