Avatar - Charles Nutting
Charles Nuttingadded this to charlesnutting.net

JavaScript QueryString Extraction

charlesnutting.net - Charles Nutting

//QueryString extractor function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" …

View on charlesnutting.net