if innerHTML used twice then it replaces the contents i want it to display all the contents



Hi,

getElementById('preview_center').innerHTML = "some code here"
if i called this ywice it replaces the contents or if i concatenated
that code i then called innnerHtml once then it looses its style.


plz reply

.