getLocState FunctionRetrieves the state of a specific location. Syntax
value = getLocState('location'.split(','));
Parameters
ReturnsReturns one of the following state values:
RemarksUse the getCurLocState function to retrieve the state of the current location. Example
state = getLocState("April,0".split(','));
if((state != "DONE") &&
(state != "DONE100"))
{
spanStatus.innerText =
"You must complete April Questions first.";
spanAll.style.display = "none";
} else
spanAll.style.display = ""; |
