• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

JavaScript Variable Quesiton

You'll need to write a function to parse the query string and pass the values to Javascript variables. Here's a sample code.

function getQueryVariable(variable) {
  var query = window.location.search.substring(1);
  var vars = query.split("&");
  for (var j=0;j<vars.length;j++) {
    var pair = vars[j].split("=");
    if (pair[0] == variable) {
    return pair[1];
    }
  }
  return 0;
}

So, if you want to get the content of the variable Page you would call the function getQueryVariable() with the following parameter:

var Page = getQueryVariable("Page");
 
Back
Top