It looks like innerHTML has (somehow) the same behavior as document.write(): both delete the previous html. I\'m using an id for the s
innerHTML
document.write()
id