解决启用 codemirror后,jquery获取不到textarea 的值
例子
<textarea id="config" name="config" class="form-control"></textarea>
window.editor_two = CodeMirror.fromTextArea(document.getElementById("config"), { lineNumbers: true, matchBrackets: true, styleActiveLine: true }); var d = {'config': editor_two.getValue() };
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。