aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes  how to remove text from canvas in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark " how to remove text from canvas in javascript" Watch " how to remove text from canvas in javascript" New topic
Author

how to remove text from canvas in javascript

pravin rasal
Ranch Hand

Joined: Jul 27, 2011
Posts: 63
my problem is that when i am clicking on button, callfunction() 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
Nikhil Padharia
Ranch Hand

Joined: Apr 19, 2012
Posts: 37
You can clear the canvas before refilling it with

pravin rasal
Ranch Hand

Joined: Jul 27, 2011
Posts: 63
thank you so much
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to remove text from canvas in javascript
 
Similar Threads
creating object out of class of same name
back and forth in a vector
Session Invalidate problem
Synchronizing thread woes!
Trying to add a count to my inventory through a constructor