getScoreValue FunctionRetrieves the number associated with a specific score value. Syntaxvalue = getScoreValue(valType); Parameters
ReturnsReturns the number assigned to the score value. RemarksUse this function to use TQS's built-in scoring functionalities in your custom location types. Exampleif(getScoreValue(2) == 10) spanStatus.innerText = "You have gotten ten questions incorrect." + "Would you like some easier questions?"; |