javascript - Converting String to DOM -


my ajax functions gives me html-elements string back, , string want append in document dom element.

something like

parentnode.appendchild(responsetext); 

what best way this.

parentnode.innerhtml += responsetext; 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -