2011-12-29 77 views

回答

1
get the element by Id - 
var element = document.getElementById(StringId); 

insert new content - 

element.innerHTML = newHTMLText; 

append new content - 

element.innerHTML += newHTMLText; 

.