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