解决启用codemirror后,jquery获取不到textarea的值

例子

 
 window.editor_two = CodeMirror.fromTextArea(document.getElementById("config"), {
                            lineNumbers: true,
                            matchBrackets: true,
                            styleActiveLine: true
                        });

 var d = {'config': editor_two.getValue() };


分享文章:解决启用codemirror后,jquery获取不到textarea的值
网站链接:http://scyanting.com/article/gjjich.html