Created
June 6, 2016 07:46
-
-
Save ashukasma/bda106ec2ec07a2f21e96589bf83fe61 to your computer and use it in GitHub Desktop.
Tools
This file contains 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
function getURLParameter(name) { | |
return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20'))||null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment