setLocState FunctionSets the state of a specific location. Syntax
setLocState('location'.split(','), newState);
Parameters
ReturnsThere is no return value. RemarksUse the setCurLocState function to change the state of the current location. Example
if(sectionChosen == 1)
setLocState("April,1".split(','), "DONE");
else
setLocState("April,0".split(','), "DONE"); |
