For example we have code like this :
setInterval(function () { // Content value
counttime.value = "10000";
}, 2000);
we need it , when server accept our request we dont want to send this command , before server acception i need example about that