frequency decoder

instructions

  1. Paste your innerHTML string into the topmost textarea.
  2. Check the HTML is well formed and more importantly, that each separate tag has attributes that are either all quoted or all unquoted, not a mixture of both.
  3. Click the 'begone innerHTML' button.
  4. Manually edit any deprecated tag/attribute warnings or parser stupidity present within the generated output.

The new javascript can then be used to replace the nasty innerHTML statement within your code.

View the related blog post.