SyntaxFix
Write A Post
Hire A Developer
Questions
try to empty your innerHtml everytime. just like this:
Element.innerHtml="";