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 - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -