Answer the question
In order to leave comments, you need to log in
How to implement document.documentElement in angular?
<form name="clockform">
<input name="clock" size="12" maxlength="12" value="00:00:00">
</form>
$scope.clearFields = function() {
isStart = 1;
clearTimeout(clocktimer);
document.clockform.clock.value='00:00:00';
}
document.clockform.clock.value='00:00:00';
in Angular?
Answer the question
In order to leave comments, you need to log in
I'm hanging out with you)))
<form name="clockform">
<input name="clock" size="12" maxlength="12" ng-model="clock">
</form>
$scope.clearFields = function() {
isStart = 1;
clearTimeout(clocktimer);
$scope.clock = '00:00:00';
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question