$dom2mootools
Overview: $dom2mootools drastically speeds up the process of JavaScript element construction when using the MooTools framework. Given any element node, it produces MooTools element constructors and should perform nearly seamless parent-child adoption (including a final adoption at the end and a reminder to reassign to your own root node).
Accreditation: Idea suggested by Jessie Yeagle and implemented by Eric Knickerbocker, both developers at Intuitive Web Solutions.
Creation Date: November 20, 2009. Last updated June 23, 2010.
URL: http://mrrena.blogspot.com/2009/12/dom2mootools.html.
Simply paste the HTML source code you want
to convert into the text box below and click Submit.
Input
Check to flatten div HTML.