Skip to content

getUrlParameterByName

Mike Byrne edited this page Jan 25, 2022 · 2 revisions

description

Returns value of a parameter from a query string

requires

  • queryStringHandler (handled automatically)

parameters

  • name - required - name of parameter value requested
  • url - optional - URL to check, otherwise checks current browser URL

returns

  • returns value of requested parameter

example usage:

var keyword = getUrlParameterByName('keyword');