DOM spliteText

Source Code

        function split() {
            document.getElementById('test').firstChild.splitText(18);
            alert('children length is:' + document.getElementById('test').childNodes.length);
        }

        function normal() {
            document.getElementById('test').normalize();
            alert('children length is:' + document.getElementById('test').childNodes.length);
        }
    

The quick brown fox