-
Include
smartEdit.min.js
on your document's<head>
-
Select html element preferrably paragraph containing text to be transformed
var myElement = document.getElementById("myElementId");
- Initialization
var xyz = new transformTo(myElement,"finalstring");
xyz.run(callback);
- The callback function runs after the transformation is complete