This function looks in the query string on the URL for the value corresponding to the given name.
<static> getQueryVariable( variable ) → {string}
Name | Type | Description |
variable | string | The name of the variable in the URL to retrieve the value for. |
The value corresponding to the given name.
Type:
string
// Get the pageToShow variable from the URL query string var pageToShow = hwc.getQueryVariable( "pageToShow" );