It’s hard to explain, but when I type in a regular textarea, I want it to update a CodeMirror textarea. I am using jQuery’s keyup();, but it isn’t working, and I’m not sure why. What am I doing wrong?
http://jsfiddle.net/mretchin/VH25w/14/
To test, merely type in #test1
Thank you!
Reference: CodeMirror Manual
check this DEMO
setValue, instead of referencing textarea usedcodemirrorobjectHope this helps