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