task 5689 Improve calc online : bug function clean

This commit is contained in:
sparkyx 2006-06-29 20:49:01 +00:00
parent a225002ebb
commit f300343cc5

View file

@ -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()