task 5689 Improve calc online : bug function clean
This commit is contained in:
parent
a225002ebb
commit
f300343cc5
1 changed files with 4 additions and 0 deletions
|
|
@ -95,10 +95,14 @@ if ( counter%2 != 0 )
|
|||
function Clean()
|
||||
{
|
||||
str="";
|
||||
counter=0;
|
||||
val="";
|
||||
this.document.getElementById('listing').innerHTML="";
|
||||
this.document.getElementById('result').innerHTML="";
|
||||
this.document.getElementById('sub_total').innerHTML="";
|
||||
this.document.getElementById('inp').value="";
|
||||
this.document.getElementById('inp').focus();
|
||||
|
||||
}
|
||||
|
||||
function Compute()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue