解决启用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://pwwzsj.com/article/gjjich.html