Socialid.wifi.util.getQueryVariable

From Social ID Developers
Revision as of 14:51, 19 October 2021 by Gabriel.prado (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Description

Returns the value of the query variable identified by the given name.

Usage

 socialid.wifi.util.getQueryVariable(variable)

API Response

value Value of the desired query variable.

Example

 // e.g. accessing https://wifi.socialidnow.com/portals/my_portal?foo=bar
 
 alert(socialid.wifi.util.getQueryVariable("foo"));
 
 // will alert the value "bar"
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox