How to Stop the Execution in JavaScript?

Saranya Boopathi
Posted by Saranya Boopathi under JavaScript category on | Points: 40 | Views : 1204
The clearInterval() method is used to stop further executions of the function specified in the setInterval() method.

function myStopExec()
{
clearInterval(VarName);
}

Comments or Responses

Login to post response