HTML to Javascript Converter

This form converts the input HTML text into a creates of Javascript statements.

The form requires JavaScript, which does not appear to be enabled in this browser (either that, or there's a catastrophic failure with your browser's DOM).

HTML to Javascript Converter

This form converts HTML source into a creates of Javascript statements.

HTML Source

Enter the HTML text to convert in the textarea below. 

Options

Javascript Output

Thanks to http://accessify.com/tools-and-wizards/developer-tools/html-javascript-convertor for the idea.