Get query string values from JavaScript

I found this code a while ago, probably somewhere on Stack Overflow, and it’s served me well ever since. It returns a data object filled with the key-value pairs of the query string. Try it!

Tagged with:
Posted in Custom Library Functions, JavaScript, Try It