HTML TO JAVASCRIPT TRANSLATOR

The HTML to JavaScript Converter was created to facilitate creating dynamic pages with JavaScript. There are are some minor flaws in the conversion funcions based on the HTML input. However, this makes a short task of creating a dynamic page from an existing page with some minor edits and tweaks. To use, paste HTML into the window below and click the 'Convert to JavaScript' button.
NOTE: Avoid mixed single and double quotes. The converter likes one or the other. Otherwise, everything sould be handled for you.