Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function parses the current URL's query string and returns it as an object with name/value pairs.  The query string is the part of the URL that contains data to be passed to a web application.  The getQueryStringParms() API allows us to retrieve the parameters passed to Profound UI.

...

Code Block
javascript
javascript

var parms = getQueryStringParms();
if (parms["mode"] == "test") {  // if mode parameter is equal to "test"
  pui.click("btnExit");  // click the exit button
}

...