function setTextOnChange(id) { var inputNames = $.map($("input"), function(item) { return item.name; }); var inputValues = $.map($("input"), function(item) { return item.value; }); $.get('ServletName', { inputNames : inputNames, inputValues : inputValues }, function(responseJson) { $.each(responseJson, function(index, fieldvalue) { CKEDITOR.instances.editor1.setData(fieldvalue); }); }); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)