get value from codemirror editor
This commit is contained in:
parent
8556cd02de
commit
7b6f4e98e2
|
@ -3,7 +3,7 @@ $("#btn_validate").click( function () {
|
||||||
$("#errors").html("");
|
$("#errors").html("");
|
||||||
$("#results").html("");
|
$("#results").html("");
|
||||||
|
|
||||||
validate($("#ta_turtle").val(), function (feedback) {
|
validate($(editor.getValue()).val(), function (feedback) {
|
||||||
$.each(feedback.warnings, function (index, warning) {
|
$.each(feedback.warnings, function (index, warning) {
|
||||||
$("#warnings").append($('<li id="warning' + index + '">').text(warning));
|
$("#warnings").append($('<li id="warning' + index + '">').text(warning));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue