DISQUS

DISQUS Hello! evand.org is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

evand.org

Evan DiBiase's blog
Jump to original thread »
Author

How to Generate a String for DOM Nodes in JavaScript

Started by Evan DiBiase · 11 months ago

Since I just struggled with this for a couple of hours, I figured I’d post it here for posterity.

If you want to generate the string representation of some XML in JavaScript, here’s how to do it (using the Prototype 1.6 syntax for element creation), courtesy of Captain’s Universe:
var contactsElement = new Element("contacts");<br ... Continue reading »

0 comments

This thread has no comments yet.

Add New Comment

Returning? Login