Last active
August 29, 2015 14:21
-
-
Save artembeloglazov/9d51f1228ea9a981bd09 to your computer and use it in GitHub Desktop.
Получение значений GET-параметров с помощью javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| location.search.replace('?','').split('&').reduce(function(s,c){var t=c.split('=');s[t[0]]=t[1];return s;},{}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment