title: How to remove text from canvas in Javascript
body: <p>My problem is that when I am clicking on button, <code>callfunction()</code> method called and counter is incremented by 5, when I am again click counter incremented by 5 and displayed 10 on given location my problem is that when counter is incremented previous number is not erased and displayed incremented number on previous number. I want to remove previous number and display next incremented number. I have following code: </p>
  
  <pre><code>var count=0;
  function callfunction()
     {
           context.fillText(count,200,200);
           count = count+5;
           //context.fillText("",200,200);
     }
  </code></pre>