
Three functions that should be used as a replacement to the innerHTML function provided by JavaScript. This uses the DOM structure to get the XHTML as a string from the HTML object. The getAttribute and trim funcions are the only functions used by innerXHTML being the key function.
View Tutorial