I have written a simple HTML which substitutes CKEditor for text area. I want to be able to gather attributes about the data that is entered as it is being entered in. For example, the text that is typed or the length of the text that is being typed. I've created a sample in jsfiddle that works without any issues but the same script does not work in my work environment. I'm very new to coding with jquery and so I do not even know where to begin to troubleshoot this problem.
The error I get in Crome's Jvascript console is:
Uncaught TypeError: Cannot read property 'createDocumentFragment' of undefined.
Any help or suggestions would be very much appreciated.
You can get to my jsfiddle here:
I have attached the code for those who can not get to the JSFiddle: