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
Erick Tedeschi - 29 Jun 2007 11:50 GMT
The contents is replaced.
For concat. use document.getElementById('preview_center').innerHTML +=
'more contents here';
On Jun 29, 5:13 am, virendra.amrit...@gmail.com wrote:
> Hi,
>
[quoted text clipped - 3 lines]
>
> plz reply